commit | 3c759144340dc8f7548d5f62e0d195ed8e689a12 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Fri May 09 05:25:37 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Fri May 09 05:25:37 2008 +0000 |
tree | d9d064741efbad613f62b43316ef70f6f8330534 | |
parent | d7265d64831f870f46b7c61244b2c86dc803f292 [diff] [blame] |
Deprecate test.testall for removal in 3.0.
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()