diff --git a/tests/test_signal_handlers.py b/tests/test_signal_handlers.py index 3b545597..6dcf375d 100644 --- a/tests/test_signal_handlers.py +++ b/tests/test_signal_handlers.py @@ -33,6 +33,9 @@ def after(app, loop): calledq.put(mock.called) +@pytest.mark.skipif( + os.name == "nt", reason="May hang CI on py38/windows" +) def test_register_system_signals(app): """Test if sanic register system signals""" @@ -48,6 +51,9 @@ def test_register_system_signals(app): assert calledq.get() is True +@pytest.mark.skipif( + os.name == "nt", reason="May hang CI on py38/windows" +) def test_dont_register_system_signals(app): """Test if sanic don't register system signals"""