]> granicus.if.org Git - python/commitdiff
The test requires the network resource
authorChristian Heimes <christian@cheimes.de>
Mon, 11 Feb 2008 02:26:22 +0000 (02:26 +0000)
committerChristian Heimes <christian@cheimes.de>
Mon, 11 Feb 2008 02:26:22 +0000 (02:26 +0000)
Lib/test/test_socket_ssl.py

index cdbea319bae8fed3c5b285ed33a34432efee7d3c..c3fe67ebc82fe2512d5be13f1fb6d135b32a63ad 100644 (file)
@@ -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 ..."