summaryrefslogtreecommitdiff
path: root/tests/select_for_update
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-04-28 23:47:34 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-04-29 08:47:33 +0200
commit0dd2308cf6f559a4f4b50edd7c005c7cf025d1aa (patch)
tree1a3c7700a43169745b2dceb53102377b1dd56de0 /tests/select_for_update
parent5627057f63f30bda6bbef7e8169c2a6156542f90 (diff)
downloaddjango-0dd2308cf6f559a4f4b50edd7c005c7cf025d1aa.tar.gz
Fixed Python PendingDeprecationWarning in select_for_update.tests.
Diffstat (limited to 'tests/select_for_update')
-rw-r--r--tests/select_for_update/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/select_for_update/tests.py b/tests/select_for_update/tests.py
index f359dc2650..7859775cff 100644
--- a/tests/select_for_update/tests.py
+++ b/tests/select_for_update/tests.py
@@ -375,7 +375,7 @@ class SelectForUpdateTests(TransactionTestCase):
# Check the thread has finished. Assuming it has, we should
# find that it has updated the person's name.
- self.assertFalse(thread.isAlive())
+ self.assertFalse(thread.is_alive())
# We must commit the transaction to ensure that MySQL gets a fresh read,
# since by default it runs in REPEATABLE READ mode