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:
Victor Stinner 2011-07-08 02:07:45 +02:00
parent 885b164bfe
commit ba8b3a2ca7
3 changed files with 5 additions and 1 deletions

View file

@ -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)):