Issue #7449: Skip test_socketserver if threading support is disabled

This commit is contained in:
Victor Stinner 2010-05-26 17:25:28 +00:00
parent c49dfcc8dc
commit 708c0727f9
2 changed files with 3 additions and 0 deletions

View file

@ -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."""