mirror of https://github.com/python/cpython
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):
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue