mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
bpo-37804: Remove the deprecated method threading.Thread.isAlive() (GH-15225)
This commit is contained in:
parent
f9590edfea
commit
44046fe4fc
4 changed files with 6 additions and 12 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue