summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-05 13:23:02 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-05 13:23:02 -0700
commit0e784d81131a369da88051e4c12dd6e4b5e3c8b1 (patch)
tree4bec5f731196ced01797d11548dde6ca84f22c9e /test.py
parentf258d1e207a21d4342dbc431fcc4a4dafe893e80 (diff)
parent720806734a05d9de0f47588d816de05646a06f0b (diff)
Merge branch 'master' into 184-int
Conflicts: paramiko/config.py tests/test_util.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)