From 5f8fc0c850b19308d004dd06e7f294968031760d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=2E=20K=C3=A4rkk=C3=A4inen?= Date: Sat, 21 Mar 2020 20:01:43 +0200 Subject: [PATCH] Disable the other signal tests on Windows as well. --- tests/test_signal_handlers.py | 6 ++++++ 1 file changed, 6 insertions(+) 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"""