Skip to content

Commit f77e2ea

Browse files
committed
Ensure process is killed in test_wait_after_external_wait
1 parent a542c71 commit f77e2ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_subprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3379,6 +3379,7 @@ def test_wait_after_external_wait(self):
33793379
# Verify the exception contains proper information
33803380
exc = cm.exception
33813381
self.assertIn('%d is already waited on externally' % proc.pid, str(exc))
3382+
proc.kill()
33823383

33833384
def test_send_signal_race(self):
33843385
# bpo-38630: send_signal() must poll the process exit status to reduce

0 commit comments

Comments
 (0)