Author: guido.van.rossum
Date: Mon Nov 19 16:56:44 2007
New Revision: 59052
Modified:
python/branches/py3k/Lib/test/test_cmd_line_script.py
Log:
Tweak the imports so this script will run stand-alone.
(No, this doesn't fix the bugs on OSX.)
Modified: python/branches/py3k/Lib/test/test_cmd_line_script.py
==============================================================================
--- python/branches/py3k/Lib/test/test_cmd_line_script.py (original)
+++ python/branches/py3k/Lib/test/test_cmd_line_script.py Mon Nov 19
16:56:44 2007
@@ -5,7 +5,7 @@
import os
import os.path
import sys
-import test
+import test.test_support
import tempfile
import subprocess
import py_compile
@@ -16,7 +16,7 @@
verbose = test.test_support.verbose
# XXX ncoghlan: Should we consider moving these to test_support?
-from .test_cmd_line import _spawn_python, _kill_python
+from test.test_cmd_line import _spawn_python, _kill_python
def _run_python(*args):
if __debug__:
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins