summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_threading.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 8f7c676..5e18243 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -113,6 +113,8 @@ class ThreadTests(BaseTestCase):
_thread.start_new_thread(f, ())
done.wait()
self.assertFalse(ident[0] is None)
+ # Kill the "immortal" _DummyThread
+ del threading._active[ident[0]]
# run with a small(ish) thread stack size (256kB)
def test_various_ops_small_stack(self):