mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Deprecate test.testall for removal in 3.0.
This commit is contained in:
parent
d7265d6483
commit
3c75914434
4 changed files with 11 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue