diff options
author | Guido van Rossum <guido@python.org> | 2007-11-19 15:56:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-11-19 15:56:44 (GMT) |
commit | 87afcbfe549bce674c52b0163bcf4dab6eea616e (patch) | |
tree | a9efa91eeb49b6421c011665917499445d6a594f /Lib/test | |
parent | 97e8029d0bb88823b1b6c9d302bbaf2e357dbc7f (diff) | |
download | cpython-87afcbfe549bce674c52b0163bcf4dab6eea616e.zip cpython-87afcbfe549bce674c52b0163bcf4dab6eea616e.tar.gz cpython-87afcbfe549bce674c52b0163bcf4dab6eea616e.tar.bz2 |
Tweak the imports so this script will run stand-alone.
(No, this doesn't fix the bugs on OSX.)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_cmd_line_script.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 8490540..3c6e4a0 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__: |