Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/test/autotest.py

7 lines
211 B
Python
Raw Normal View History

Rehabilitate autotest.py. In README: Write up (Guido's) rules for intra-test imports; warn against asserts; document test_support.use_large_resources.
2000-08-23 05:28:45 +00:00
# This should be equivalent to running regrtest.py from the cmdline.
# It can be especially handy if you're in an interactive shell, e.g.,
# from test import autotest.
Complete the absolute import patch for the test suite. All relative imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
2002-07-30 23:27:12 +00:00
from test import regrtest
Restore old behavior of autotest and testall, using regrtest. This is done for backward compatibility with Python 1.4.
1997-03-07 21:05:43 +00:00
regrtest.main()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 2081ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API