diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-07-24 15:40:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 15:40:47 (GMT) |
commit | 157b6ad677b7b330d30b2bb5ffbb2edac77b78cb (patch) | |
tree | 7ab721c9445a62ab56b89603c7092d2ddad84592 /Python/Python-ast.c | |
parent | dbe6aba47b8b1f91de9b1ce087d3eb322ba1297c (diff) | |
download | cpython-157b6ad677b7b330d30b2bb5ffbb2edac77b78cb.zip cpython-157b6ad677b7b330d30b2bb5ffbb2edac77b78cb.tar.gz cpython-157b6ad677b7b330d30b2bb5ffbb2edac77b78cb.tar.bz2 |
bpo-30908: Fix dangling thread in test_os.TestSendfile (#2680) (#2845)
tearDown() now clears explicitly the self.server variable to make
sure that the thread is completely cleared when tearDownClass()
checks if all threads have been cleaned up.
Fix the following warning:
$ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os
(...)
Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2)
(...)
Tests result: ENV CHANGED
(cherry picked from commit d1cc037d1442cc35d1b194ec8e50901514360949)
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions