summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-08 10:53:57 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-08 10:53:57 -0700
commite4a8f3287d67039fd2dc2c7215365bd86bf6bcf6 (patch)
treee4b6659fc35ff2f24b13407a95a03dc02f5ba392 /test.py
parentdc63250293e742edc54ba4b08f372c265de3f5ca (diff)
parentb36b87ceefd50fa691eb5b46865d0c28a8c511dd (diff)
Merge branch 'master' into 377-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)