mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
asyncio: be more lenient if we don't understand status returned by waitpid().
This should have no effect, it's a "shouldn't happe" case. Also tidied up some comments.
This commit is contained in:
parent
22c3176426
commit
8da15cc218
2 changed files with 14 additions and 14 deletions
|
@ -266,7 +266,7 @@ class SelectorEventLoopTests(unittest.TestCase):
|
|||
self.loop._subprocesses[7] = transp
|
||||
|
||||
self.loop._sig_chld()
|
||||
self.assertFalse(transp._process_exited.called)
|
||||
self.assertTrue(transp._process_exited.called)
|
||||
self.assertFalse(m_WEXITSTATUS.called)
|
||||
self.assertFalse(m_WTERMSIG.called)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue