summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-02-11 02:26:22 +0000
committerChristian Heimes <christian@cheimes.de>2008-02-11 02:26:22 +0000
commit03d3abf3755274358ed6f3aeeae273a2779b27bb (patch)
treedac131a83ab25fc3543bbb19dc489259d9b9204c
parentd058cd2cc8e2a3f61609b92a8fc821ea8ec524ca (diff)
downloadcpython-git-03d3abf3755274358ed6f3aeeae273a2779b27bb.tar.gz
The test requires the network resource
-rw-r--r--Lib/test/test_socket_ssl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py
index cdbea319ba..c3fe67ebc8 100644
--- a/Lib/test/test_socket_ssl.py
+++ b/Lib/test/test_socket_ssl.py
@@ -131,6 +131,8 @@ class BasicTests(unittest.TestCase):
raise last_exc
def test_978833(self):
+ if not test_support.is_resource_enabled("network"):
+ return
if test_support.verbose:
print "test_978833 ..."