This is an automated email from the ASF dual-hosted git repository.

kojiromike pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 0fbc98b  AVRO-3008: Threading.is_alive Spelling for Py3.9 (#1042)
0fbc98b is described below

commit 0fbc98b7625577a9b51c4c52467d62cf08cbc16f
Author: Michael A. Smith <[email protected]>
AuthorDate: Sun Dec 20 20:25:28 2020 -0500

    AVRO-3008: Threading.is_alive Spelling for Py3.9 (#1042)
    
    * `Threading.isAlive` is a synonym for `Threading.is_alive`, which has been 
supported since Python 2.7.
    * `Threading.isAlive` has been deprecated since 3.1.
    * `Threading.isAlive` was removed entirely in Python 3.9.
---
 lang/py/avro/test/test_tether_task_runner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/py/avro/test/test_tether_task_runner.py 
b/lang/py/avro/test/test_tether_task_runner.py
index 4d31349..16b5b99 100644
--- a/lang/py/avro/test/test_tether_task_runner.py
+++ b/lang/py/avro/test/test_tether_task_runner.py
@@ -128,7 +128,7 @@ class TestTetherTaskRunner(unittest.TestCase):
             time.sleep(1)
 
             # make sure the other thread terminated
-            self.assertFalse(sthread.isAlive())
+            self.assertFalse(sthread.is_alive())
 
             # shutdown the logging
             logging.shutdown()

Reply via email to