[Checkins] SVN: ZODB/trunk/src/ZEO/tests/testZEO.py Only run sync_connect_doesnt_hang on unix, since it uses unix-domain

Jim Fulton jim at zope.com
Fri Sep 10 07:57:36 EDT 2010


Log message for revision 116287:
  Only run sync_connect_doesnt_hang on unix, since it uses unix-domain
  sockets.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/testZEO.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/testZEO.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/testZEO.py	2010-09-10 11:23:49 UTC (rev 116286)
+++ ZODB/trunk/src/ZEO/tests/testZEO.py	2010-09-10 11:57:36 UTC (rev 116287)
@@ -1541,8 +1541,8 @@
     True
 
     >>> db.close()
+    """
 
-    """
 def sync_connect_doesnt_hang():
     r"""
     >>> import threading
@@ -1566,9 +1566,10 @@
     >>> cm.thread.isAlive()
     False
     >>> ZEO.zrpc.client.ConnectThread = ConnectThread
-
     """
 
+if sys.platform.startswith('win'):
+    del sync_connect_doesnt_hang
 
 slow_test_classes = [
     BlobAdaptedFileStorageTests, BlobWritableCacheTests,



More information about the checkins mailing list