Issue #7449: Skip test_socketserver if threading support is disabled
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py
index a478bd4..d4c4f63 100644
--- a/Lib/test/test_socketserver.py
+++ b/Lib/test/test_socketserver.py
@@ -61,6 +61,7 @@
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 e1b82a6..e313acc 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -75,6 +75,8 @@
Tests
-----
+- Issue #7449: Skip test_socketserver if threading support is disabled
+
- On darwin, ``test_site`` assumed that a framework build was being used,
leading to a failure where four directories were expected for site-packages
instead of two in a non-framework build.