summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_unix_events.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2013-10-21 22:00:44 (GMT)
committerGuido van Rossum <guido@dropbox.com>2013-10-21 22:00:44 (GMT)
commit8da15cc2189a97500e83cd50ab761920365fcdf1 (patch)
tree9e06dd22ba3176703c074833a1974e4c5fb10b99 /Lib/test/test_asyncio/test_unix_events.py
parent22c31764262b02338265a059c738b8d24fd9a0e4 (diff)
downloadcpython-8da15cc2189a97500e83cd50ab761920365fcdf1.zip
cpython-8da15cc2189a97500e83cd50ab761920365fcdf1.tar.gz
cpython-8da15cc2189a97500e83cd50ab761920365fcdf1.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_asyncio/test_unix_events.py')
-rw-r--r--Lib/test/test_asyncio/test_unix_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py
index 834df81..27e70c6 100644
--- a/Lib/test/test_asyncio/test_unix_events.py
+++ b/Lib/test/test_asyncio/test_unix_events.py
@@ -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)