[Zope-Checkins] SVN: zdaemon/trunk/tests/testzdrun.py Account for
	legitimate socket errors on Mac OS X.
    Chris McDonough 
    chrism at plope.com
       
    Sun Mar 20 18:55:25 EST 2005
    
    
  
Log message for revision 29603:
  Account for legitimate socket errors on Mac OS X.
  
Changed:
  U   zdaemon/trunk/tests/testzdrun.py
-=-
Modified: zdaemon/trunk/tests/testzdrun.py
===================================================================
--- zdaemon/trunk/tests/testzdrun.py	2005-03-20 23:35:18 UTC (rev 29602)
+++ zdaemon/trunk/tests/testzdrun.py	2005-03-20 23:55:24 UTC (rev 29603)
@@ -281,6 +281,11 @@
         sock.close()
         return response
     except socket.error, msg:
+        if str(msg) == 'AF_UNIX path too long':
+            # MacOS has apparent small limits on the length of a UNIX
+            # domain socket filename, we want to make MacOS users aware
+            # of the actual problem
+            raise
         return None
 
 def test_suite():
    
    
More information about the Zope-Checkins
mailing list