From: Terry Jan Reedy Date: Fri, 13 Jun 2014 19:20:45 +0000 (-0400) Subject: Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag. X-Git-Tag: v3.4.2rc1~393 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a40e6b0c9482c9aa7f94396430274251abfdf655;p=python Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag. --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index aed10a70ac..b1ce058b64 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -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'):