Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
87afcbfe
Commit
87afcbfe
authored
Nov 19, 2007
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak the imports so this script will run stand-alone.
(No, this doesn't fix the bugs on OSX.)
parent
97e8029d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/test/test_cmd_line_script.py
Lib/test/test_cmd_line_script.py
+2
-2
No files found.
Lib/test/test_cmd_line_script.py
View file @
87afcbfe
...
@@ -5,7 +5,7 @@ import unittest
...
@@ -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
...
@@ -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__
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment