From 462c4ff59fa0b4fbeafe288ed276f21e2b404a7e Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 25 Jul 2019 13:54:41 +0100 Subject: [PATCH] [stream-refactor] stop writing to /tmp/foo in fd_check.py. --- tests/data/fd_check.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/data/fd_check.py b/tests/data/fd_check.py index b933c9c7..0a87a95e 100755 --- a/tests/data/fd_check.py +++ b/tests/data/fd_check.py @@ -44,13 +44,3 @@ open(sys.argv[1], 'w').write(repr({ 'ttyname': ttyname(fd), '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(), -}))