[Python-checkins] r60722 - python/trunk/Lib/test/test_socket_ssl.py

christian.heimes python-checkins at python.org
Mon Feb 11 03:26:22 CET 2008


Author: christian.heimes
Date: Mon Feb 11 03:26:22 2008
New Revision: 60722

Modified:
   python/trunk/Lib/test/test_socket_ssl.py
Log:
The test requires the network resource

Modified: python/trunk/Lib/test/test_socket_ssl.py
==============================================================================
--- python/trunk/Lib/test/test_socket_ssl.py	(original)
+++ python/trunk/Lib/test/test_socket_ssl.py	Mon Feb 11 03:26:22 2008
@@ -131,6 +131,8 @@
         raise last_exc
 
     def test_978833(self):
+        if not test_support.is_resource_enabled("network"):
+            return
         if test_support.verbose:
             print "test_978833 ..."
 


More information about the Python-checkins mailing list