diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index eb72528f02c..deaeee18353 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -61,6 +61,7 @@ def simple_subprocess(testcase): testcase.assertEquals(72 << 8, status) +@unittest.skipUnless(threading, 'Threading required for this test.') class SocketServerTest(unittest.TestCase): """Test all socket servers.""" diff --git a/Misc/NEWS b/Misc/NEWS index 5d20ca43c5c..2065bb6e3c1 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -1385,6 +1385,8 @@ Documentation Tests ----- +- Issue #7449: Skip test_socketserver if threading support is disabled + - Issue #8672: Add a zlib test ensuring that an incomplete stream can be handled by a decompressor object without errors (it returns incomplete uncompressed data).