Skip to content

Commit 2264afd

Browse files
committed
skip with thread
1 parent c4a94ed commit 2264afd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/backend/test_interactive_serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def submit_init_error(socket):
4545

4646

4747
class TestSerial(unittest.TestCase):
48+
@unittest.skipIf(not sys._is_gil_enabled(), "Requires GIL to run")
4849
def test_main_as_thread(self):
4950
context = zmq.Context()
5051
socket = context.socket(zmq.PAIR)
@@ -89,7 +90,6 @@ def test_main_as_thread_init_error(self):
8990
socket.close()
9091
context.term()
9192

92-
@unittest.skipIf(not sys._is_gil_enabled(), "Requires GIL to run")
9393
def test_submit_as_thread(self):
9494
context = zmq.Context()
9595
socket = context.socket(zmq.PAIR)

0 commit comments

Comments
 (0)