From a86f0c17a1385c07710d894b93a1c13159c0b57f Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 18 Sep 2001 02:18:57 +0000 Subject: [PATCH] Make test_socketserver require the network resource. Add it back to the list of tests we expect to skip on Windows. --- Lib/test/regrtest.py | 1 + Lib/test/test_socketserver.py | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.40.0