Skip to content

Commit

Permalink
Fix bug introduced in 3f35037
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Oct 25, 2016
1 parent 2255eed commit 48a3dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envdir/test_envdir.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def test_keyboard_interrupt(run, tmpenvdir, monkeypatch):
with py.test.raises(Response) as response:
run('envdir', str(tmpenvdir), 'sleep', '1')
if platform.system() == 'Windows':
assert response.value.code == signal.SIGINT
assert response.value.status == signal.SIGINT
else:
# Minus sign is added by subprocess to distinguish signals from exit
# codes. Since we send a signal within the test to stop the process,
Expand Down

0 comments on commit 48a3dfb

Please sign in to comment.