mirror of https://github.com/python/cpython
this test manages the fds itself
This commit is contained in:
parent
bf0757137f
commit
d8fc2e1aeb
|
@ -2597,6 +2597,7 @@ class SignalsTest(unittest.TestCase):
|
||||||
t = threading.Thread(target=_read)
|
t = threading.Thread(target=_read)
|
||||||
t.daemon = True
|
t.daemon = True
|
||||||
r, w = os.pipe()
|
r, w = os.pipe()
|
||||||
|
fdopen_kwargs["closefd"] = False
|
||||||
try:
|
try:
|
||||||
wio = self.io.open(w, **fdopen_kwargs)
|
wio = self.io.open(w, **fdopen_kwargs)
|
||||||
t.start()
|
t.start()
|
||||||
|
|
Loading…
Reference in New Issue