]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30796: Fix failures in signal delivery stress test (#2488)
authorAntoine Pitrou <pitrou@free.fr>
Thu, 29 Jun 2017 14:40:14 +0000 (16:40 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2017 14:40:14 +0000 (16:40 +0200)
commitf7d090c165f6cd3d008fe60c78e5324caef53f80
tree80c730e4df5082666433b2e42e6c9fb2ad4b716c
parentbeeca6e1e5fd01531b1db7059498b13d07dca525
bpo-30796: Fix failures in signal delivery stress test (#2488)

* bpo-30796: Fix failures in signal delivery stress test

setitimer() can have a poor minimum resolution on some machines,
this would make the test reach its deadline (and a stray signal
could then kill a subsequent test).

* Make sure to clear the itimer after the test
Lib/test/test_signal.py