summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_streams.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-07-07 14:35:02 -0500
committerZachary Ware <zachary.ware@gmail.com>2014-07-07 14:35:02 -0500
commite55c07614b4f6d4961a2d3fc9af4cf92c2b2615c (patch)
tree6eabbaa47b0066ea2480864b78e69c645daed3da /Lib/test/test_asyncio/test_streams.py
parentbb715c3208e98a5abf245de2fcfd7e93e28614e0 (diff)
parent8eb1f397f7637f49e102198ef49e156e229b09de (diff)
downloadcpython-e55c07614b4f6d4961a2d3fc9af4cf92c2b2615c.tar.gz
Issue #17846: Merge with 3.4
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
-rw-r--r--Lib/test/test_asyncio/test_streams.py6
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
index 73a375aba4..8adc3b2921 100644
--- a/Lib/test/test_asyncio/test_streams.py
+++ b/Lib/test/test_asyncio/test_streams.py
@@ -596,6 +596,12 @@ class StreamReaderTests(test_utils.TestCase):
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)