diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-05 04:25:46 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-05 04:25:46 (GMT) |
commit | 16a024739328b8a026b6ac3619c9b74047079a5f (patch) | |
tree | 718bbd4a7ec0befbb93680abe3df1dfe53069a00 /Lib/test | |
parent | 0fe799151fc9e485f9c001fa9138e4ca77069b98 (diff) | |
download | cpython-16a024739328b8a026b6ac3619c9b74047079a5f.zip cpython-16a024739328b8a026b6ac3619c9b74047079a5f.tar.gz cpython-16a024739328b8a026b6ac3619c9b74047079a5f.tar.bz2 |
Fix bad variable name in r73846.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_py3kwarn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index a636a49..c7fdd6b 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -282,8 +282,8 @@ class TestPy3KWarnings(unittest.TestCase): def test_operator(self): from operator import isCallable, sequenceIncludes - expected_ = ("operator.isCallable() is not supported in 3.x. " - "Use hasattr(obj, '__call__').") + callable_warn = ("operator.isCallable() is not supported in 3.x. " + "Use hasattr(obj, '__call__').") seq_warn = ("operator.sequenceIncludes() is not supported " "in 3.x. Use operator.contains().") with check_warnings() as w: |