Skip to content

Commit 5fa3d50

Browse files
authored
Merge pull request #248 from tirkarthi/fix-isalive
Use is_alive in favour of isAlive for Python 3.9 compatibility.
2 parents ac6c00b + 318f2d0 commit 5fa3d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mbed-greentea/mbed_greentea/mbed_greentea_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ def get_parallel_value(value):
902902
# A time of 0.1 seconds is a fairly arbitrary choice. It needs
903903
# to balance CPU utilization and responsiveness to keyboard interrupts.
904904
# Checking 10 times a second seems to be stable and responsive.
905-
while t.isAlive():
905+
while t.is_alive():
906906
t.join(0.1)
907907

908908
test_return_data = test_result_queue.get(False)

0 commit comments

Comments
 (0)