From: Tim Peters Date: Tue, 18 Sep 2001 02:18:57 +0000 (+0000) Subject: Make test_socketserver require the network resource. X-Git-Tag: v2.2.1c1~1762 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a86f0c17a1385c07710d894b93a1c13159c0b57f;p=thirdparty%2FPython%2Fcpython.git Make test_socketserver require the network resource. Add it back to the list of tests we expect to skip on Windows. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 632ac0babc89..16d51ea913a7 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -495,6 +495,7 @@ _expectations = { test_pwd test_signal test_socket_ssl + test_socketserver test_sunaudiodev test_timing """, diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index 6bce9b34edd3..d3cd5a6bcfe1 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -1,6 +1,8 @@ # Test suite for SocketServer.py +import test_support from test_support import verbose, verify, TESTFN, TestSkipped +test_support.requires('network') from SocketServer import * import socket