]> granicus.if.org Git - python/commitdiff
Apply same patch from 3k branch to try and prevent this test from hanging
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 2 Apr 2008 05:54:27 +0000 (05:54 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 2 Apr 2008 05:54:27 +0000 (05:54 +0000)
on various platforms, most recently the Alpha Tru64.

Lib/test/test_ssl.py

index 856434f67614e3bab90b26cf6dd5141d9583a367..8f8212a8b3323966b3072ea8aabfbda3497031e3 100644 (file)
@@ -380,6 +380,7 @@ else:
                     except:
                         sys.stdout.write(''.join(traceback.format_exception(*sys.exc_info())))
                         break
+                    time.sleep(0.1)
 
             def server_close(self):
                 # Again, we want this to run in a thread, so we need to override