File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ def test_main_as_thread(self):
5959 socket .close ()
6060 context .term ()
6161
62+ @unittest .skipIf (not sys ._is_gil_enabled (), "Requires GIL to run" )
6263 def test_main_as_thread_error (self ):
6364 context = zmq .Context ()
6465 socket = context .socket (zmq .PAIR )
@@ -74,6 +75,7 @@ def test_main_as_thread_error(self):
7475 socket .close ()
7576 context .term ()
7677
78+ @unittest .skipIf (not sys ._is_gil_enabled (), "Requires GIL to run" )
7779 def test_main_as_thread_init_error (self ):
7880 context = zmq .Context ()
7981 socket = context .socket (zmq .PAIR )
@@ -90,6 +92,7 @@ def test_main_as_thread_init_error(self):
9092 socket .close ()
9193 context .term ()
9294
95+ @unittest .skipIf (not sys ._is_gil_enabled (), "Requires GIL to run" )
9396 def test_submit_as_thread (self ):
9497 context = zmq .Context ()
9598 socket = context .socket (zmq .PAIR )
@@ -103,6 +106,7 @@ def test_submit_as_thread(self):
103106 socket .close ()
104107 context .term ()
105108
109+ @unittest .skipIf (not sys ._is_gil_enabled (), "Requires GIL to run" )
106110 def test_submit_as_thread_error (self ):
107111 context = zmq .Context ()
108112 socket = context .socket (zmq .PAIR )
You can’t perform that action at this time.
0 commit comments