]> granicus.if.org Git - python/commitdiff
Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 13 Jun 2014 19:20:45 +0000 (15:20 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 13 Jun 2014 19:20:45 +0000 (15:20 -0400)
Lib/test/test_socket.py

index aed10a70ac1521e645dc3b8a52c0a093d8bc489f..b1ce058b6419418a5b1dacc38041f0ec1df8209d 100644 (file)
@@ -1456,6 +1456,7 @@ class BasicCANTest(unittest.TestCase):
 
 
 @unittest.skipUnless(HAVE_SOCKET_CAN, 'SocketCan required for this test.')
+@unittest.skipUnless(thread, 'Threading required for this test.')
 class CANTest(ThreadedCANSocketTest):
 
     def __init__(self, methodName='runTest'):