summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-02 17:58:12 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-02 17:58:12 -0800
commit958faab321a9e2204bd7532b1fd33113e49796b3 (patch)
tree2c2aeb55a028283e385a2aa67afa426d483a11c4 /test.py
parent886e04b2c3668e40af22c5cfef4c476b9e92b87b (diff)
parent0a57d0337778d99066688e310c81d449c64c9bb6 (diff)
Merge branch '1.13' into 1.14
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 2b3d4ed4..92a3e6d0 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)