Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/test/test_posix.py
Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
  • Loading branch information
itsankitkp and sunmy2019 committed Apr 25, 2023
commit e7a00d79c3f97b9ece83f15ddd4745d13c3273d9
2 changes: 1 addition & 1 deletion Lib/test/test_posix.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def test_register_at_fork_multiple_runs(self):
os.register_at_fork(before=lambda: os.write(w, b'D'))
os.register_at_fork(after_in_parent=lambda: os.write(w, b'E'))
os.register_at_fork(after_in_child=lambda: os.write(w, b'F'))
child_pid = os.fork()
child_pid = os.fork()
if child_pid == 0:
os.close(w)
os.read(fin_r, 1)
Expand Down