diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-09 05:25:37 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-09 05:25:37 (GMT) |
commit | 3c759144340dc8f7548d5f62e0d195ed8e689a12 (patch) | |
tree | d9d064741efbad613f62b43316ef70f6f8330534 | |
parent | d7265d64831f870f46b7c61244b2c86dc803f292 (diff) | |
download | cpython-3c759144340dc8f7548d5f62e0d195ed8e689a12.zip cpython-3c759144340dc8f7548d5f62e0d195ed8e689a12.tar.gz cpython-3c759144340dc8f7548d5f62e0d195ed8e689a12.tar.bz2 |
Deprecate test.testall for removal in 3.0.
-rw-r--r-- | Doc/library/zipfile.rst | 2 | ||||
-rw-r--r-- | Lib/test/test_py3kwarn.py | 2 | ||||
-rw-r--r-- | Lib/test/testall.py | 6 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
4 files changed, 11 insertions, 1 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index 1f365d5..5f509aa 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -316,7 +316,7 @@ The :class:`PyZipFile` constructor takes the same parameters as the string.pyc # Top level name test/__init__.pyc # Package directory - test/testall.pyc # Module test.testall + test/test_support.pyc # Module test.test_support test/bogus/__init__.pyc # Subpackage directory test/bogus/myfile.pyc # Submodule test.bogus.myfile diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index 0933382..c66ff73 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -126,6 +126,8 @@ class TestPy3KWarnings(unittest.TestCase): class TestStdlibRemovals(unittest.TestCase): + # test.testall not tested as it executes all unit tests as an + # import side-effect. all_platforms = ('audiodev', 'imputil', 'mutex', 'user', 'new') def check_removal(self, module_name): 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() @@ -20,6 +20,8 @@ Extension Modules Library ------- +- The test.testall module has been deprecated for removal in Python 3.0. + - The new module has been deprecated for removal in Python 3.0. - The user module has been deprecated for removal in Python 3.0. |