SVN: ZODB/trunk/src/ZEO/tests/testZEO.py oh, multiprocessing...
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.python.zope.zodb.cvs |
|---|---|
| Message-ID | <20100205181933.0DEC8941AF__3128.2814140015$1265393985$gmane$org@cvs.zope.org> |
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)