summaryrefslogtreecommitdiffstats
path: root/PC
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 /PC
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 'PC')
-rw-r--r--PC/testpy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/testpy.py b/PC/testpy.py
index 4ef3d4f..709f35c 100644
--- a/PC/testpy.py
+++ b/PC/testpy.py
@@ -26,5 +26,5 @@ for dir in sys.path:
# Add the "test" directory to PYTHONPATH.
sys.path = sys.path + [test]
-import regrtest # Standard Python tester.
-regrtest.main()
+import libregrtest # Standard Python tester.
+libregrtest.main()