Commit bda016b1 authored by Jim Fulton's avatar Jim Fulton

Try to mitigate some test fragility

parent 04efaecc
...@@ -52,7 +52,7 @@ seems best and set the next record to that: ...@@ -52,7 +52,7 @@ seems best and set the next record to that:
>>> it = ZODB.FileStorage.FileIterator('data.fs', tids[1]) >>> it = ZODB.FileStorage.FileIterator('data.fs', tids[1])
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS
Scan forward data.fs:<OFFSET> looking for '...' Scan forward data.fs:<OFFSET> looking for ...
>>> it.next().tid == tids[1] >>> it.next().tid == tids[1]
True True
...@@ -60,7 +60,7 @@ seems best and set the next record to that: ...@@ -60,7 +60,7 @@ seems best and set the next record to that:
>>> it = ZODB.FileStorage.FileIterator('data.fs', tids[30]) >>> it = ZODB.FileStorage.FileIterator('data.fs', tids[30])
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS
Scan forward data.fs:<OFFSET> looking for '...' Scan forward data.fs:<OFFSET> looking for ...
>>> it.next().tid == tids[30] >>> it.next().tid == tids[30]
True True
...@@ -68,7 +68,7 @@ seems best and set the next record to that: ...@@ -68,7 +68,7 @@ seems best and set the next record to that:
>>> it = ZODB.FileStorage.FileIterator('data.fs', tids[70]) >>> it = ZODB.FileStorage.FileIterator('data.fs', tids[70])
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS
Scan backward data.fs:<OFFSET> looking for '...' Scan backward data.fs:<OFFSET> looking for ...
>>> it.next().tid == tids[70] >>> it.next().tid == tids[70]
True True
...@@ -76,7 +76,7 @@ seems best and set the next record to that: ...@@ -76,7 +76,7 @@ seems best and set the next record to that:
>>> it = ZODB.FileStorage.FileIterator('data.fs', tids[-2]) >>> it = ZODB.FileStorage.FileIterator('data.fs', tids[-2])
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS
Scan backward data.fs:<OFFSET> looking for '...' Scan backward data.fs:<OFFSET> looking for ...
>>> it.next().tid == tids[-2] >>> it.next().tid == tids[-2]
True True
...@@ -111,7 +111,7 @@ starting point, or just pick up where another iterator left off: ...@@ -111,7 +111,7 @@ starting point, or just pick up where another iterator left off:
>>> it = ZODB.FileStorage.FileIterator('data.fs', tids[50], pos=poss[50]) >>> it = ZODB.FileStorage.FileIterator('data.fs', tids[50], pos=poss[50])
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS
Scan backward data.fs:<OFFSET> looking for '...' Scan backward data.fs:<OFFSET> looking for ...
>>> it.next().tid == tids[50] >>> it.next().tid == tids[50]
True True
...@@ -119,7 +119,7 @@ starting point, or just pick up where another iterator left off: ...@@ -119,7 +119,7 @@ starting point, or just pick up where another iterator left off:
>>> it = ZODB.FileStorage.FileIterator('data.fs', tids[49], pos=poss[50]) >>> it = ZODB.FileStorage.FileIterator('data.fs', tids[49], pos=poss[50])
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS
Scan backward data.fs:<OFFSET> looking for '...' Scan backward data.fs:<OFFSET> looking for ...
>>> it.next().tid == tids[49] >>> it.next().tid == tids[49]
True True
......
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