Deprecate test.testall for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-09 05:25:37 +00:00
parent d7265d6483
commit 3c75914434
4 changed files with 11 additions and 1 deletions

View file

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