Index: Lib/test/test_ssl.py
===================================================================
--- Lib/test/test_ssl.py	(revision 59566)
+++ Lib/test/test_ssl.py	(working copy)
@@ -23,6 +23,10 @@
 except ImportError:
     skip_expected = True
 
+# This also requires the 'network' resource
+skip_expected = not (skip_expected and
+                     test_support.is_resource_enabled('network'))
+
 CERTFILE = None
 SVN_PYTHON_ORG_ROOT_CERT = None
 
Index: Lib/test/test_socket.py
===================================================================
--- Lib/test/test_socket.py	(revision 59566)
+++ Lib/test/test_socket.py	(working copy)
@@ -17,6 +17,10 @@
 HOST = 'localhost'
 MSG = 'Michael Gilfix was here\n'
 
+# This requires the 'network' resource as given on the regrtest command
+# line.
+skip_expected = not test_support.is_resource_enabled('network')
+
 class SocketTCPTest(unittest.TestCase):
 
     def setUp(self):
Index: Lib/test/test_socket_ssl.py
===================================================================
--- Lib/test/test_socket_ssl.py	(revision 59566)
+++ Lib/test/test_socket_ssl.py	(working copy)
@@ -11,8 +11,9 @@
 import os
 import urllib
 
-# Optionally test SSL support, if we have it in the tested platform
-skip_expected = not hasattr(socket, "ssl")
+# Optionally test SSL support.  This requires the 'network' resource
+skip_expected = not (test_support.is_resource_enabled('network') and
+                     hasattr(socket, "ssl"))
 
 class ConnectedTests(unittest.TestCase):
 
Index: Lib/test/test_urllib2.py
===================================================================
--- Lib/test/test_urllib2.py	(revision 59566)
+++ Lib/test/test_urllib2.py	(working copy)
@@ -7,6 +7,8 @@
 import urllib2
 from urllib2 import Request, OpenerDirector
 
+skip_expected = not test_support.is_resource_enabled('network')
+
 # XXX
 # Request
 # CacheFTPHandler (hard to write)
