[pypy-commit] pypy default: Close these two file descriptors
arigo
pypy.commits at gmail.com
Fri Aug 26 10:15:32 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
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):
More information about the pypy-commit
mailing list