From 16a024739328b8a026b6ac3619c9b74047079a5f Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Sun, 5 Jul 2009 04:25:46 +0000 Subject: [PATCH] Fix bad variable name in r73846. --- Lib/test/test_py3kwarn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index a636a49c889..c7fdd6ba56c 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: