[stream-refactor] stop writing to /tmp/foo in fd_check.py.

pull/607/head
David Wilson 5 years ago
parent cd0a557602
commit 462c4ff59f

@ -44,13 +44,3 @@ open(sys.argv[1], 'w').write(repr({
'ttyname': ttyname(fd), 'ttyname': ttyname(fd),
'controlling_tty': controlling_tty(), 'controlling_tty': controlling_tty(),
})) }))
open('/tmp/foo', 'w').write(repr({
'buf': buf,
'flags': fcntl.fcntl(fd, fcntl.F_GETFL),
'st_mode': st.st_mode,
'st_dev': st.st_dev,
'st_ino': st.st_ino,
'ttyname': ttyname(fd),
'controlling_tty': controlling_tty(),
}))

Loading…
Cancel
Save