summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2013-12-10 20:09:20 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2013-12-10 20:09:20 (GMT)
commit1f70221b861a3714735251d57695b2f472d0599b (patch)
tree945cd43b04b6351e71c23aa0cb19f6fab1f3ddda /Lib/test/test_ssl.py
parent284164b47638e4e71a933ce136a33fdd352f7bac (diff)
downloadcpython-1f70221b861a3714735251d57695b2f472d0599b.zip
cpython-1f70221b861a3714735251d57695b2f472d0599b.tar.gz
cpython-1f70221b861a3714735251d57695b2f472d0599b.tar.bz2
Issue #19572: More silently skipped tests explicitly skipped.
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 9c33c8f..6723865 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -192,9 +192,8 @@ class BasicSocketTests(unittest.TestCase):
self.assertTrue(s.startswith("OpenSSL {:d}.{:d}.{:d}".format(major, minor, fix)),
(s, t))
+ @test_support.requires_resource('network')
def test_ciphers(self):
- if not test_support.is_resource_enabled('network'):
- return
remote = ("svn.python.org", 443)
with test_support.transient_internet(remote[0]):
s = ssl.wrap_socket(socket.socket(socket.AF_INET),