]> granicus.if.org Git - python/commit
bpo-31234: threading_cleanup() now warns immediately (#3138)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 13 Sep 2017 20:42:00 +0000 (13:42 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2017 20:42:00 +0000 (13:42 -0700)
commitace1ecc00b35a8b1dc6e352d547dde07913017bb
treec3df0738fe0767df7a99c6d81658c0b12839ca67
parent88031a9adedb594500db643404614f6648beec81
bpo-31234: threading_cleanup() now warns immediately (#3138)

support.threading_cleanup() waits for 1 second before emitting a
warning if there are threads running in the background. With this
change, it now emits the warning immediately, to be able to catch
bugs more easily.
Lib/test/support/__init__.py