Disable the other signal tests on Windows as well.
This commit is contained in:
parent
1418003fef
commit
5f8fc0c850
|
@ -33,6 +33,9 @@ def after(app, loop):
|
||||||
calledq.put(mock.called)
|
calledq.put(mock.called)
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(
|
||||||
|
os.name == "nt", reason="May hang CI on py38/windows"
|
||||||
|
)
|
||||||
def test_register_system_signals(app):
|
def test_register_system_signals(app):
|
||||||
"""Test if sanic register system signals"""
|
"""Test if sanic register system signals"""
|
||||||
|
|
||||||
|
@ -48,6 +51,9 @@ def test_register_system_signals(app):
|
||||||
assert calledq.get() is True
|
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):
|
def test_dont_register_system_signals(app):
|
||||||
"""Test if sanic don't register system signals"""
|
"""Test if sanic don't register system signals"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user