summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-06-13 19:20:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-06-13 19:20:45 (GMT)
commita40e6b0c9482c9aa7f94396430274251abfdf655 (patch)
tree7ebca3067648e233b02e47450589c05daf95d55b
parent6926e3e835d83634379b33e92bc8bdf46f3005f2 (diff)
downloadcpython-a40e6b0c9482c9aa7f94396430274251abfdf655.zip
cpython-a40e6b0c9482c9aa7f94396430274251abfdf655.tar.gz
cpython-a40e6b0c9482c9aa7f94396430274251abfdf655.tar.bz2
Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.
-rw-r--r--Lib/test/test_socket.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index aed10a7..b1ce058 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'):