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
53b1c24f
Commit
53b1c24f
authored
Jun 30, 2013
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Plain Diff
Issue #18224: Updated test.
parents
893c7e78
ef1f777e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
Lib/test/test_venv.py
Lib/test/test_venv.py
+0
-4
No files found.
Lib/test/test_venv.py
View file @
53b1c24f
...
...
@@ -23,12 +23,10 @@ class BaseTest(unittest.TestCase):
self
.
env_dir
=
os
.
path
.
realpath
(
tempfile
.
mkdtemp
())
if
os
.
name
==
'nt'
:
self
.
bindir
=
'Scripts'
self
.
pydocname
=
'pydoc.py'
self
.
lib
=
(
'Lib'
,)
self
.
include
=
'Include'
else
:
self
.
bindir
=
'bin'
self
.
pydocname
=
'pydoc'
self
.
lib
=
(
'lib'
,
'python%s'
%
sys
.
version
[:
3
])
self
.
include
=
'include'
if
sys
.
platform
==
'darwin'
and
'__PYVENV_LAUNCHER__'
in
os
.
environ
:
...
...
@@ -78,8 +76,6 @@ class BasicTest(BaseTest):
executable
=
sys
.
executable
path
=
os
.
path
.
dirname
(
executable
)
self
.
assertIn
(
'home = %s'
%
path
,
data
)
data
=
self
.
get_text_file_contents
(
self
.
bindir
,
self
.
pydocname
)
self
.
assertTrue
(
data
.
startswith
(
'#!%s%s'
%
(
self
.
env_dir
,
os
.
sep
)))
fn
=
self
.
get_env_file
(
self
.
bindir
,
self
.
exe
)
if
not
os
.
path
.
exists
(
fn
):
# diagnostics for Windows buildbot failures
bd
=
self
.
get_env_file
(
self
.
bindir
)
...
...
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