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

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <[email protected]>
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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.