mirror of https://github.com/python/cpython
Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.
This commit is contained in:
parent
6926e3e835
commit
a40e6b0c94
|
@ -1456,6 +1456,7 @@ class BasicCANTest(unittest.TestCase):
|
||||||
|
|
||||||
|
|
||||||
@unittest.skipUnless(HAVE_SOCKET_CAN, 'SocketCan required for this test.')
|
@unittest.skipUnless(HAVE_SOCKET_CAN, 'SocketCan required for this test.')
|
||||||
|
@unittest.skipUnless(thread, 'Threading required for this test.')
|
||||||
class CANTest(ThreadedCANSocketTest):
|
class CANTest(ThreadedCANSocketTest):
|
||||||
|
|
||||||
def __init__(self, methodName='runTest'):
|
def __init__(self, methodName='runTest'):
|
||||||
|
|
Loading…
Reference in New Issue