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 20, 2021
1 parent 8c039b7 commit f7e2ec9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions 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
5 changes: 4 additions & 1 deletion tests/executors/test_executor_kill.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ 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 f7e2ec9

Please sign in to comment.