summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest/__init__.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-24 16:53:20 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-24 16:53:20 (GMT)
commit3aac0adfe01b30fc58c638c5ab61844e80b3fd66 (patch)
tree5e3691904a971e3b305bc4d2e1b950e6ddef6570 /Lib/test/libregrtest/__init__.py
parent8c08e0db8fa47c0c8780607a0d803d4964fdffa6 (diff)
downloadcpython-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/libregrtest/__init__.py')
-rw-r--r--Lib/test/libregrtest/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/libregrtest/__init__.py b/Lib/test/libregrtest/__init__.py
index 9f7b1c1..7ba0e6e 100644
--- a/Lib/test/libregrtest/__init__.py
+++ b/Lib/test/libregrtest/__init__.py
@@ -1,2 +1,5 @@
+# We import importlib *ASAP* in order to test #15386
+import importlib
+
from test.libregrtest.cmdline import _parse_args, RESOURCE_NAMES
-from test.libregrtest.main import main, main_in_temp_cwd
+from test.libregrtest.main import main