bpo-37804: Remove the deprecated method threading.Thread.isAlive() (GH-15225)

This commit is contained in:
Dong-hee Na 2019-08-13 02:41:08 +09:00 committed by Victor Stinner
parent f9590edfea
commit 44046fe4fc
4 changed files with 6 additions and 12 deletions

View file

@ -422,8 +422,6 @@ def test_old_threading_api(self):
t.setDaemon(True)
t.getName()
t.setName("name")
with self.assertWarnsRegex(DeprecationWarning, 'use is_alive()'):
t.isAlive()
e = threading.Event()
e.isSet()
threading.activeCount()