Commit a2da8235 authored by Jim Fulton's avatar Jim Fulton Committed by GitHub

Merge pull request #96 from zopefoundation/checkTransactionalUndoIterator

checkTransactionalUndoIterator: do not expect iterator to return sorted oids
parents 37e445a5 9d418f12
...@@ -698,9 +698,9 @@ class TransactionalUndoStorage: ...@@ -698,9 +698,9 @@ class TransactionalUndoStorage:
tid = p64(i + 1) tid = p64(i + 1)
eq(txn.tid, tid) eq(txn.tid, tid)
L1 = [(rec.oid, rec.tid, rec.data_txn) for rec in txn] L1 = {(rec.oid, rec.tid, rec.data_txn) for rec in txn}
L2 = [(oid, revid, None) for _tid, oid, revid in orig L2 = {(oid, revid, None) for _tid, oid, revid in orig
if _tid == tid] if _tid == tid}
eq(L1, L2) eq(L1, L2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment