summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-03 12:47:27 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-03 12:47:27 -0800
commit7108289226d460411cf7dabcd065b603be480113 (patch)
tree51b50b9ff6a46256f7c4d27ad8bf440f3ccdeef4 /test.py
parente7808e11de87127451f25e5cd45f8f764cbcb590 (diff)
parent0a57d0337778d99066688e310c81d449c64c9bb6 (diff)
Merge branch '1.13' into 525-int
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test.py b/test.py
index bd966d1e..6a2c9a8b 100755
--- a/test.py
+++ b/test.py
@@ -149,10 +149,7 @@ def main():
# TODO: make that not a problem, jeez
for thread in threading.enumerate():
if thread is not threading.currentThread():
- if PY2:
- thread._Thread__stop()
- else:
- thread._stop()
+ thread.join(timeout=1)
# Exit correctly
if not result.wasSuccessful():
sys.exit(1)