diff options
Diffstat (limited to 'Lib/test/test_py3kwarn.py')
| -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:  | 
