From a40e6b0c9482c9aa7f94396430274251abfdf655 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 13 Jun 2014 15:20:45 -0400 Subject: [PATCH] Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag. --- Lib/test/test_socket.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index aed10a70ac1..b1ce058b641 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'):