Kaydet (Commit) 16a02473 authored tarafından Alexandre Vassalotti's avatar Alexandre Vassalotti

Fix bad variable name in r73846.

üst 0fe79915
...@@ -282,8 +282,8 @@ class TestPy3KWarnings(unittest.TestCase): ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment