Fix bad variable name in r73846.
This commit is contained in:
parent
0fe799151f
commit
16a0247393
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue