diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-24 16:53:20 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-24 16:53:20 (GMT) |
commit | 3aac0adfe01b30fc58c638c5ab61844e80b3fd66 (patch) | |
tree | 5e3691904a971e3b305bc4d2e1b950e6ddef6570 /Lib/test/autotest.py | |
parent | 8c08e0db8fa47c0c8780607a0d803d4964fdffa6 (diff) | |
download | cpython-3aac0adfe01b30fc58c638c5ab61844e80b3fd66.zip cpython-3aac0adfe01b30fc58c638c5ab61844e80b3fd66.tar.gz cpython-3aac0adfe01b30fc58c638c5ab61844e80b3fd66.tar.bz2 |
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()
Diffstat (limited to 'Lib/test/autotest.py')
-rw-r--r-- | Lib/test/autotest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/autotest.py b/Lib/test/autotest.py index 41c2088..fa85cc1 100644 --- a/Lib/test/autotest.py +++ b/Lib/test/autotest.py @@ -1,6 +1,5 @@ # 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. - -from test import regrtest -regrtest.main() +from test.libregrtest import main +main() |