summaryrefslogtreecommitdiffstats
path: root/Lib/test/testall.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-09 05:25:37 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-09 05:25:37 (GMT)
commit3c759144340dc8f7548d5f62e0d195ed8e689a12 (patch)
treed9d064741efbad613f62b43316ef70f6f8330534 /Lib/test/testall.py
parentd7265d64831f870f46b7c61244b2c86dc803f292 (diff)
downloadcpython-3c759144340dc8f7548d5f62e0d195ed8e689a12.zip
cpython-3c759144340dc8f7548d5f62e0d195ed8e689a12.tar.gz
cpython-3c759144340dc8f7548d5f62e0d195ed8e689a12.tar.bz2
Deprecate test.testall for removal in 3.0.
Diffstat (limited to 'Lib/test/testall.py')
-rw-r--r--Lib/test/testall.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/testall.py b/Lib/test/testall.py
index 2349394..5b5cf01 100644
--- a/Lib/test/testall.py
+++ b/Lib/test/testall.py
@@ -1,4 +1,10 @@
# Backward compatibility -- you should use regrtest instead of this module.
+from warnings import warnpy3k
+warnpy3k("the test.testall module has been removed in Python 3.0",
+ stacklevel=2)
+del warnpy3k
+
+
import sys, regrtest
sys.argv[1:] = ["-vv"]
regrtest.main()