diff options
author | Donald Stufft <donald@stufft.io> | 2016-11-03 00:32:37 (GMT) |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2016-11-03 00:32:37 (GMT) |
commit | c96b8fcf251dfd833411188fe564475942269012 (patch) | |
tree | a232bfe58a1629ec9c70940b97d6715d0d1b90f9 /Lib/test/test_venv.py | |
parent | f81d60ba68eb40bbae0339d55d5722706c57a6c7 (diff) | |
download | cpython-c96b8fcf251dfd833411188fe564475942269012.zip cpython-c96b8fcf251dfd833411188fe564475942269012.tar.gz cpython-c96b8fcf251dfd833411188fe564475942269012.tar.bz2 |
Allow ensurepip even when ssl is unavailable
Diffstat (limited to 'Lib/test/test_venv.py')
-rw-r--r-- | Lib/test/test_venv.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py index f4ad7c7..0ff978f 100644 --- a/Lib/test/test_venv.py +++ b/Lib/test/test_venv.py @@ -18,12 +18,6 @@ from test.support import (captured_stdout, captured_stderr, import unittest import venv -# pip currently requires ssl support, so we ensure we handle -# it being missing (http://bugs.python.org/issue19744) -try: - import ssl -except ImportError: - ssl = None try: import threading @@ -337,8 +331,6 @@ class EnsurePipTest(BaseTest): self.assertTrue(os.path.exists(os.devnull)) - # Requesting pip fails without SSL (http://bugs.python.org/issue19744) - @unittest.skipIf(ssl is None, ensurepip._MISSING_SSL_MESSAGE) @unittest.skipUnless(threading, 'some dependencies of pip import threading' ' module unconditionally') # Issue #26610: pip/pep425tags.py requires ctypes |