summaryrefslogtreecommitdiff
path: root/Lib/test/test_builtin.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-07-08 02:07:45 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-07-08 02:07:45 +0200
commitba8b3a2ca7a43684cf67b174a4b245b8ba596a5c (patch)
treeac4944546147e094877e4163b1c2ccf868a4775b /Lib/test/test_builtin.py
parent885b164bfe9907dcedc4c9260801bd59a790c0c5 (diff)
downloadcpython-git-ba8b3a2ca7a43684cf67b174a4b245b8ba596a5c.tar.gz
Close #12501: Adjust callable() warning: callable() is only not supported in
Python 3.1. callable() is again supported in Python 3.2.
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r--Lib/test/test_builtin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index 1d35a6afe5..ae3a67c594 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -1683,6 +1683,7 @@ class TestSorted(unittest.TestCase):
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)):