[Zodb-checkins] CVS: StandaloneZODB/ZEO/tests - multi.py:1.4

Jeremy Hylton jeremy@zope.com
Fri, 7 Sep 2001 15:41:41 -0400


Update of /cvs-repository/StandaloneZODB/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv16417

Modified Files:
	multi.py 
Log Message:
Merge in zeo-1_0-branch

Remove Python 2.x-isms so that tests run under Python 1.5.2



=== StandaloneZODB/ZEO/tests/multi.py 1.3 => 1.4 ===
     server_pid, server = start_server(addr)
     t1 = time.time()
-    pids = [start_client(addr, client_func) for i in range(CLIENTS)]
+    pids = []
+    for i in range(CLIENTS):
+        pids.append(start_client(addr, client_func))
     for pid in pids:
         assert type(pid) == types.IntType, "invalid pid type: %s (%s)" % \
                (repr(pid), type(pid))