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) testcase.assertEquals(72 << 8, status)
@unittest.skipUnless(threading, 'Threading required for this test.')
class SocketServerTest(unittest.TestCase): class SocketServerTest(unittest.TestCase):
"""Test all socket servers.""" """Test all socket servers."""

View File

@ -75,6 +75,8 @@ Extension Modules
Tests Tests
----- -----
- Issue #7449: Skip test_socketserver if threading support is disabled
- On darwin, ``test_site`` assumed that a framework build was being used, - On darwin, ``test_site`` assumed that a framework build was being used,
leading to a failure where four directories were expected for site-packages leading to a failure where four directories were expected for site-packages
instead of two in a non-framework build. instead of two in a non-framework build.