diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2017-04-21 18:27:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-21 18:27:29 +0200 |
| commit | b984a05d557e78b928f38098d0b6c0e95f737b9a (patch) | |
| tree | 87440a3423d33075e5d5d4c669ef46a8e09e0301 /Lib/asyncio/tasks.py | |
| parent | 483729526e06cda0befc241190bb586d472a72e8 (diff) | |
| download | cpython-git-b984a05d557e78b928f38098d0b6c0e95f737b9a.tar.gz | |
bpo-30107: don't dump core on expected test_io crash (#1235) (#1241)
test_io has two unit tests which trigger a deadlock:
* test_daemon_threads_shutdown_stdout_deadlock()
* test_daemon_threads_shutdown_stderr_deadlock()
These tests call Py_FatalError() if the expected bug is triggered
which calls abort(). Use test.support.SuppressCrashReport to prevent
the creation on a core dump, to fix the warning:
Warning -- files was modified by test_io
Before: []
After: ['python.core']
(cherry picked from commit 2a1aed04b0943636f605543522e16cca1dc23e70)
Diffstat (limited to 'Lib/asyncio/tasks.py')
0 files changed, 0 insertions, 0 deletions
