summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-08 15:01:18 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-08 15:03:12 -0700
commit68f7dbea29bb700caf5885ffe8af6bc7bd5ad92b (patch)
tree3fbee6b5c76ca2a38cb3abf527f6643a3cd6957c /test.py
parent021160d8db62b8873f7deda3f7d89750941d2704 (diff)
parent88d932f2bbab907879639122969fb1f763258d29 (diff)
Merge branch 'master' into 362-int
Conflicts: tests/test_client.py
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)