]> granicus.if.org Git - python/commitdiff
this test manages the fds itself
authorBenjamin Peterson <benjamin@python.org>
Sun, 31 Oct 2010 01:19:53 +0000 (01:19 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 31 Oct 2010 01:19:53 +0000 (01:19 +0000)
Lib/test/test_io.py

index d1973e5f3ee308b2e2f46413a8db0395aded9133..1ea57ac11e72a3026b6e8b852bf1ed8a44938b81 100644 (file)
@@ -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()