summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-08 15:13:09 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-08 15:13:09 -0700
commit5e8e088ed610ae6dd264ea2c72fa30c3aa32b850 (patch)
tree2600619b98f7ff96c71008321dd1749b9e1959fe /test.py
parent56417507ee0fbe28b938e03909945c127c8bbde1 (diff)
parent9c9dcaf4885653f4dcd100b2724199976a20c21e (diff)
Merge branch 'master' into 346-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 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)