summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-08 14:26:52 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-08 14:27:21 -0700
commit8b0e10df60bb8e3fac8f81959d7f3f39a8d0e000 (patch)
tree4e0766b74d7688624f21766f2be0ff5d8e9cfae1 /test.py
parentb0ffd7c9c8d0941ee95e6f133cb6697bfb6a9b99 (diff)
parent24e022bdf656f272b4dafb76df1a7739965be2f9 (diff)
Merge branch 'master' into 372-int
Conflicts: paramiko/channel.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)