Skip to content

Commit

Permalink
gh-110395: test: assert after the child dies. (#111816)
Browse files Browse the repository at this point in the history
based on review from Victor Stinner.  I already made this edit in the 3.12 backport PR.
  • Loading branch information
gpshead committed Nov 7, 2023
1 parent c3e19c3 commit d2ddfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_kqueue.py
Expand Up @@ -271,8 +271,8 @@ def test_fork(self):
finally:
os._exit(0)
else:
self.assertFalse(kqueue.closed)
support.wait_process(pid, exitcode=0)
self.assertFalse(kqueue.closed) # child done, we're still open.


if __name__ == "__main__":
Expand Down

0 comments on commit d2ddfcc

Please sign in to comment.