diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-27 20:41:39 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-27 20:41:39 (GMT) |
| commit | 4b1d286ac06f32a5857af1b3141dd4127744b15b (patch) | |
| tree | 144b0b8d065cdf4c68c4527beed92862c0d3e8dd /Python/pythonrun.c | |
| parent | 34f2935dca7bb20cd87e42dc41985cc3d688a735 (diff) | |
| download | cpython-4b1d286ac06f32a5857af1b3141dd4127744b15b.zip cpython-4b1d286ac06f32a5857af1b3141dd4127744b15b.tar.gz cpython-4b1d286ac06f32a5857af1b3141dd4127744b15b.tar.bz2 | |
bpo-33913: Fix test_multiprocessing_main_handling (GH-7972)
bpo-30339, bpo-33913:
* Increase timeout from 10 seconds to 1 minute in
test_source_main_skipped_in_children source of
test_multiprocessing_main_handling.
* Replace time.time() with time.monotonic().
* On timeout, include the duration in the error message.
(cherry picked from commit 64737e9ae2081e529935ecf07f44e89f362d1c4b)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
