Author: Armin Rigo <[email protected]>
Branch:
Changeset: r86565:aae784293a68
Date: 2016-08-26 16:14 +0200
http://bitbucket.org/pypy/pypy/changeset/aae784293a68/
Log: Close these two file descriptors
diff --git a/pypy/module/posix/test/test_posix2.py
b/pypy/module/posix/test/test_posix2.py
--- a/pypy/module/posix/test/test_posix2.py
+++ b/pypy/module/posix/test/test_posix2.py
@@ -411,6 +411,8 @@
os.write(slave_fd, 'x\n')
data = os.read(master_fd, 100)
assert data.startswith('x')
+ os.close(master_fd)
+ os.close(slave_fd)
if hasattr(__import__(os.name), "forkpty"):
def test_forkpty(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit