diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-18 02:18:57 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-18 02:18:57 (GMT) |
commit | a86f0c17a1385c07710d894b93a1c13159c0b57f (patch) | |
tree | 01f0d0ece3604c8e2da48b100663aac5096f572c /Lib | |
parent | 7a76d4b4e45cd25b8290b72a3b990a54427bf2c6 (diff) | |
download | cpython-a86f0c17a1385c07710d894b93a1c13159c0b57f.zip cpython-a86f0c17a1385c07710d894b93a1c13159c0b57f.tar.gz cpython-a86f0c17a1385c07710d894b93a1c13159c0b57f.tar.bz2 |
Make test_socketserver require the network resource.
Add it back to the list of tests we expect to skip on Windows.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/regrtest.py | 1 | ||||
-rw-r--r-- | Lib/test/test_socketserver.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 632ac0b..16d51ea 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 6bce9b3..d3cd5a6 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 |