[Python-checkins] cpython: Issue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for
victor.stinner
python-checkins at python.org
Mon Jun 30 12:33:34 CEST 2014
http://hg.python.org/cpython/rev/69d474dab479
changeset: 91482:69d474dab479
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Jun 30 12:32:59 2014 +0200
summary:
Issue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for
debug
files:
Lib/test/test_asyncio/test_streams.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py
--- a/Lib/test/test_asyncio/test_streams.py
+++ b/Lib/test/test_asyncio/test_streams.py
@@ -596,6 +596,12 @@
code = """\
import os, sys
+try:
+ import faulthandler
+except ImportError:
+ pass
+else:
+ faulthandler.dump_traceback_later(60, exit=True)
fd = int(sys.argv[1])
os.write(fd, b'data')
os.close(fd)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list