mirror of
https://github.com/python/cpython.git
synced 2026-01-05 15:02:33 +00:00
this test manages the fds itself
This commit is contained in:
parent
bf0757137f
commit
d8fc2e1aeb
1 changed files with 1 additions and 0 deletions
|
|
@ -2597,6 +2597,7 @@ def _read():
|
|||
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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue