mirror of
https://github.com/python/cpython.git
synced 2025-10-08 16:11:51 +00:00
Tweak the imports so this script will run stand-alone.
(No, this doesn't fix the bugs on OSX.)
This commit is contained in:
parent
97e8029d0b
commit
87afcbfe54
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import unittest
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
import sys
|
import sys
|
||||||
import test
|
import test.test_support
|
||||||
import tempfile
|
import tempfile
|
||||||
import subprocess
|
import subprocess
|
||||||
import py_compile
|
import py_compile
|
||||||
|
@ -16,7 +16,7 @@ import zipfile
|
||||||
verbose = test.test_support.verbose
|
verbose = test.test_support.verbose
|
||||||
|
|
||||||
# XXX ncoghlan: Should we consider moving these to test_support?
|
# 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):
|
def _run_python(*args):
|
||||||
if __debug__:
|
if __debug__:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue