From: Alexandre Vassalotti Date: Sun, 5 Jul 2009 04:25:46 +0000 (+0000) Subject: Fix bad variable name in r73846. X-Git-Tag: v2.7a1~830 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a024739328b8a026b6ac3619c9b74047079a5f;p=thirdparty%2FPython%2Fcpython.git Fix bad variable name in r73846. --- diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index a636a49c889e..c7fdd6ba56ca 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: