Disable the other signal tests on Windows as well.

This commit is contained in:
L. Kärkkäinen 2020-03-21 20:01:43 +02:00
parent 1418003fef
commit 5f8fc0c850

View File

@ -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"""