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
1e55e912
Commit
1e55e912
authored
Nov 24, 2013
by
Nick Coghlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19744 (temp workaround): without ssl, skip pip test
parent
5370374a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Lib/test/test_venv.py
Lib/test/test_venv.py
+6
-0
No files found.
Lib/test/test_venv.py
View file @
1e55e912
...
@@ -15,6 +15,10 @@ from test.support import (captured_stdout, captured_stderr, run_unittest,
...
@@ -15,6 +15,10 @@ from test.support import (captured_stdout, captured_stderr, run_unittest,
can_symlink
,
EnvironmentVarGuard
)
can_symlink
,
EnvironmentVarGuard
)
import
unittest
import
unittest
import
venv
import
venv
try
:
import
ssl
except
ImportError
:
ssl
=
None
skipInVenv
=
unittest
.
skipIf
(
sys
.
prefix
!=
sys
.
base_prefix
,
skipInVenv
=
unittest
.
skipIf
(
sys
.
prefix
!=
sys
.
base_prefix
,
'Test not appropriate in a venv'
)
'Test not appropriate in a venv'
)
...
@@ -278,6 +282,8 @@ class EnsurePipTest(BaseTest):
...
@@ -278,6 +282,8 @@ class EnsurePipTest(BaseTest):
self
.
assertEqual
(
err
,
b""
)
self
.
assertEqual
(
err
,
b""
)
self
.
assertEqual
(
out
.
strip
(),
b"OK"
)
self
.
assertEqual
(
out
.
strip
(),
b"OK"
)
# Temporary skip for http://bugs.python.org/issue19744
@
unittest
.
skipIf
(
ssl
is
None
,
'pip needs SSL support'
)
def
test_with_pip
(
self
):
def
test_with_pip
(
self
):
shutil
.
rmtree
(
self
.
env_dir
)
shutil
.
rmtree
(
self
.
env_dir
)
with
EnvironmentVarGuard
()
as
envvars
:
with
EnvironmentVarGuard
()
as
envvars
:
...
...
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