From d8fc2e1aeb3bbd3f08cdb2ea47c2122ca5f99800 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 31 Oct 2010 01:19:53 +0000 Subject: [PATCH] this test manages the fds itself --- Lib/test/test_io.py | 1 + 1 file changed, 1 insertion(+) 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() -- 2.40.0