Fix bad variable name in r73846.

This commit is contained in:
Alexandre Vassalotti 2009-07-05 04:25:46 +00:00
parent 0fe799151f
commit 16a0247393
1 changed files with 2 additions and 2 deletions

View File

@ -282,8 +282,8 @@ class TestPy3KWarnings(unittest.TestCase):
def test_operator(self): def test_operator(self):
from operator import isCallable, sequenceIncludes from operator import isCallable, sequenceIncludes
expected_ = ("operator.isCallable() is not supported in 3.x. " callable_warn = ("operator.isCallable() is not supported in 3.x. "
"Use hasattr(obj, '__call__').") "Use hasattr(obj, '__call__').")
seq_warn = ("operator.sequenceIncludes() is not supported " seq_warn = ("operator.sequenceIncludes() is not supported "
"in 3.x. Use operator.contains().") "in 3.x. Use operator.contains().")
with check_warnings() as w: with check_warnings() as w: