[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/testZEO.py oh, multiprocessing...

Jim Fulton jim at zope.com
Fri Feb 5 13:19:33 EST 2010


Log message for revision 108797:
  oh, multiprocessing...
  

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-02-05 18:19:30 UTC (rev 108796)
+++ ZODB/trunk/src/ZEO/tests/testZEO.py	2010-02-05 18:19:32 UTC (rev 108797)
@@ -1032,7 +1032,6 @@
     connection closed
 
     >>> cs.close()
-    connection closed
     """
 
 def client_has_newer_data_than_server():
@@ -1286,6 +1285,8 @@
             # Gaaa, zope.testing.runner.FakeInputContinueGenerator has no close
             if not hasattr(sys.stdin, 'close'):
                 sys.stdin.close = lambda : None
+            if not hasattr(sys.stdin, 'fileno'):
+                sys.stdin.fileno = lambda : -1
 
             self.globs = {}
             forker.setUp(self)



More information about the Zodb-checkins mailing list