[Zodb-checkins] SVN: ZODB/trunk/src/zdaemon/tests/testzdrun.py Don't suppress MacOS-specific errors.

Chris McDonough chrism at plope.com
Sun Mar 20 18:26:52 EST 2005


Log message for revision 29601:
  Don't suppress MacOS-specific errors.
  

Changed:
  U   ZODB/trunk/src/zdaemon/tests/testzdrun.py

-=-
Modified: ZODB/trunk/src/zdaemon/tests/testzdrun.py
===================================================================
--- ZODB/trunk/src/zdaemon/tests/testzdrun.py	2005-03-20 22:18:10 UTC (rev 29600)
+++ ZODB/trunk/src/zdaemon/tests/testzdrun.py	2005-03-20 23:26:52 UTC (rev 29601)
@@ -281,6 +281,11 @@
         sock.close()
         return response
     except socket.error, msg:
+        if msg[1] == '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 Zodb-checkins mailing list