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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a86f0c17a1385c07710d894b93a1c13159c0b57f;p=python 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 632ac0babc..16d51ea913 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 6bce9b34ed..d3cd5a6bcf 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