summaryrefslogtreecommitdiff
path: root/Lib/test/test_socketserver.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-26 17:25:28 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-26 17:25:28 +0000
commit708c0727f9067cbf88f970f080125b7ec3128e24 (patch)
tree2ad94db811aa3b99595c44c16fca0c3d0572a0cf /Lib/test/test_socketserver.py
parentc49dfcc8dcf5aec3151f7a76fd860ce0247f9bf9 (diff)
downloadcpython-git-708c0727f9067cbf88f970f080125b7ec3128e24.tar.gz
Issue #7449: Skip test_socketserver if threading support is disabled
Diffstat (limited to 'Lib/test/test_socketserver.py')
-rw-r--r--Lib/test/test_socketserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py
index a478bd45d7..d4c4f63c92 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."""