From: Guido van Rossum Date: Mon, 19 Nov 2007 15:56:44 +0000 (+0000) Subject: Tweak the imports so this script will run stand-alone. X-Git-Tag: v3.0a2~153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87afcbfe549bce674c52b0163bcf4dab6eea616e;p=thirdparty%2FPython%2Fcpython.git Tweak the imports so this script will run stand-alone. (No, this doesn't fix the bugs on OSX.) --- diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 8490540009cd..3c6e4a0af599 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -5,7 +5,7 @@ import unittest import os import os.path import sys -import test +import test.test_support import tempfile import subprocess import py_compile @@ -16,7 +16,7 @@ import zipfile 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__: