From: Benjamin Peterson Date: Sun, 31 Oct 2010 01:19:53 +0000 (+0000) Subject: this test manages the fds itself X-Git-Tag: v3.2a4~236 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8fc2e1aeb3bbd3f08cdb2ea47c2122ca5f99800;p=python this test manages the fds itself --- diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index d1973e5f3e..1ea57ac11e 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -2597,6 +2597,7 @@ class SignalsTest(unittest.TestCase): t = threading.Thread(target=_read) t.daemon = True r, w = os.pipe() + fdopen_kwargs["closefd"] = False try: wio = self.io.open(w, **fdopen_kwargs) t.start()