[Zodb-checkins] SVN: ZODB/branches/nikhil_n-py25/src/ZODB/tests/testFileStorage.py made ZODB work with Python2.5

nikhil n nikhil.n.n at gmail.com
Thu Jun 7 15:02:45 EDT 2007


Log message for revision 76473:
  made ZODB work with Python2.5

Changed:
  U   ZODB/branches/nikhil_n-py25/src/ZODB/tests/testFileStorage.py

-=-
Modified: ZODB/branches/nikhil_n-py25/src/ZODB/tests/testFileStorage.py
===================================================================
--- ZODB/branches/nikhil_n-py25/src/ZODB/tests/testFileStorage.py	2007-06-07 18:22:53 UTC (rev 76472)
+++ ZODB/branches/nikhil_n-py25/src/ZODB/tests/testFileStorage.py	2007-06-07 19:02:44 UTC (rev 76473)
@@ -483,7 +483,7 @@
 def lastInvalidations():
     """
 
-The last invalidations method is used by a storage server to pupulate
+The last invalidations method is used by a storage server to populate
 it's data structure of recent invalidations.  The lastInvalidations
 method is passed a count and must return up to count number of the
 most recent transactions.
@@ -508,7 +508,7 @@
     True
 
     >>> from ZODB.utils import u64
-    >>> [[u64(oid) for (oid, version) in oids]
+    >>> [[long(u64(oid)) for (oid, version) in oids]
     ...  for (i, oids) in invalidations]
     ... # doctest: +NORMALIZE_WHITESPACE
     [[0L, 91L], [0L, 92L], [0L, 93L], [0L, 94L], [0L, 95L],



More information about the Zodb-checkins mailing list