Skip to content

Commit d9be40e

Browse files
committed
fix test
Signed-off-by: Manjusaka <[email protected]>
1 parent b0cf98a commit d9be40e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/test_pty.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,6 @@ def test_fork(self):
231231
os._exit(2)
232232
os._exit(4)
233233
else:
234-
flags = fcntl.fcntl(master_fd, fcntl.F_GETFD)
235-
cloexec_set = bool(flags & fcntl.FD_CLOEXEC)
236234
flags = fcntl.fcntl(master_fd, fcntl.F_GETFD)
237235
self.assertTrue(flags & fcntl.FD_CLOEXEC)
238236
debug("Waiting for child (%d) to finish." % pid)

0 commit comments

Comments
 (0)