diff --git a/tests/test_keep_alive_timeout.py b/tests/test_keep_alive_timeout.py index 494bf633..2a9e93a2 100644 --- a/tests/test_keep_alive_timeout.py +++ b/tests/test_keep_alive_timeout.py @@ -279,4 +279,3 @@ def test_keep_alive_server_timeout(): assert isinstance(exception, ValueError) assert "Connection reset" in exception.args[0] or \ "got a new connection" in exception.args[0] - diff --git a/tests/test_multiprocessing.py b/tests/test_multiprocessing.py index 8cc40e5d..8becfab1 100644 --- a/tests/test_multiprocessing.py +++ b/tests/test_multiprocessing.py @@ -19,7 +19,7 @@ def test_multiprocessing(): process.terminate() signal.signal(signal.SIGALRM, stop_on_alarm) - signal.alarm(1) app.run(HOST, PORT, workers=num_workers) + signal.alarm(1) assert len(process_list) == num_workers