[Zodb-checkins] CVS: ZODB3/ZEO/tests - testMonitor.py:1.2
Tim Peters
tim.one@comcast.net
Mon, 13 Jan 2003 16:43:28 -0500
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv7819/ZEO/tests
Modified Files:
testMonitor.py
Log Message:
get_monitor_output(): Fixed Windows-specific bug (can't pass an empty
string to socket connect(), used 'localhost' instead).
=== ZODB3/ZEO/tests/testMonitor.py 1.1 => 1.2 ===
--- ZODB3/ZEO/tests/testMonitor.py:1.1 Thu Jan 9 18:57:43 2003
+++ ZODB3/ZEO/tests/testMonitor.py Mon Jan 13 16:43:24 2003
@@ -28,7 +28,7 @@
def get_monitor_output(self):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- s.connect(('', 42000))
+ s.connect(('localhost', 42000))
L = []
while 1:
buf = s.recv(8192)