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

6 lines
214 B
Python
Raw Permalink 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.
gh-109162: libregrtest: use relative imports (#109250) libregrtest.__init__ no longer exposes any symbol, so "python -m test.libregrtest.worker" imports less modules.
2023-09-11 09:02:35 +02:00
from test.libregrtest.main import main
Cleanup regrtest "main()" function * Rename libregrtest.main_in_temp_cwd() to libregrtest.main() * Add regrtest.main_in_temp_cwd() alias to libregrtest.main() * Move old main_in_temp_cwd() code into libregrtest.Regrtest.main() * Update multiple scripts to call libregrtest.main()
2016-03-24 17:53:20 +01:00
main()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 3234ms Template: 3ms
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