mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Fix bad variable name in r73846.
This commit is contained in:
parent
0fe799151f
commit
16a0247393
1 changed files with 2 additions and 2 deletions
|
@ -282,7 +282,7 @@ class TestPy3KWarnings(unittest.TestCase):
|
|||
def test_operator(self):
|
||||
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__').")
|
||||
seq_warn = ("operator.sequenceIncludes() is not supported "
|
||||
"in 3.x. Use operator.contains().")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue