Skip to content

Commit

Permalink
Unskip exit signal handling
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed May 14, 2021
1 parent bf64c9e commit eb3bcab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions tests/executors/test_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
SLEEP_300 = "sleep 300"


@pytest.mark.skipif(
"platform.system() == 'Windows'", reason="Expects signal -15 gets 15"
)
@pytest.mark.parametrize("command", (SLEEP_300, SLEEP_300.split()))
def test_running_process(command):
"""Start process and shuts it down."""
Expand All @@ -36,9 +33,6 @@ def test_running_process(command):
assert SLEEP_300 in str(executor)


@pytest.mark.skipif(
"platform.system() == 'Windows'", reason="Expects signal -15 gets 15"
)
@pytest.mark.parametrize("command", (SLEEP_300, SLEEP_300.split()))
def test_command(command):
"""Check that the command and command parts are equivalent."""
Expand Down
2 changes: 1 addition & 1 deletion tests/executors/test_executor_kill.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_daemons_killing():

@pytest.mark.skipif(
"platform.system() == 'Windows'",
reason="Expects signal -15 gets 15 at the last stop",
reason="Subprocess killed earlier than in 10 secs. Blocking signals probably doesn't work.",
)
def test_stopping_brutally():
"""
Expand Down

0 comments on commit eb3bcab

Please sign in to comment.