mirror of
https://github.com/python/cpython.git
synced 2025-11-11 19:12:05 +00:00
Close #12501: Adjust callable() warning: callable() is only not supported in
Python 3.1. callable() is again supported in Python 3.2.
This commit is contained in:
parent
885b164bfe
commit
ba8b3a2ca7
3 changed files with 5 additions and 1 deletions
|
|
@ -1683,6 +1683,7 @@ def test_baddecorator(self):
|
|||
|
||||
def _run_unittest(*args):
|
||||
with check_py3k_warnings(
|
||||
(".+ not supported in 3.1", DeprecationWarning),
|
||||
(".+ not supported in 3.x", DeprecationWarning),
|
||||
(".+ is renamed to imp.reload", DeprecationWarning),
|
||||
("classic int division", DeprecationWarning)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue