[Python-checkins] r86012 - python/branches/py3k/Lib/test/test_io.py

benjamin.peterson python-checkins at python.org
Sun Oct 31 02:19:53 CET 2010


Author: benjamin.peterson
Date: Sun Oct 31 02:19:53 2010
New Revision: 86012

Log:
this test manages the fds itself

Modified:
   python/branches/py3k/Lib/test/test_io.py

Modified: python/branches/py3k/Lib/test/test_io.py
==============================================================================
--- python/branches/py3k/Lib/test/test_io.py	(original)
+++ python/branches/py3k/Lib/test/test_io.py	Sun Oct 31 02:19:53 2010
@@ -2597,6 +2597,7 @@
         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()


More information about the Python-checkins mailing list