Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
bda016b1
Commit
bda016b1
authored
Jul 24, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to mitigate some test fragility
parent
04efaecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/ZODB/FileStorage/iterator.test
src/ZODB/FileStorage/iterator.test
+6
-6
No files found.
src/ZODB/FileStorage/iterator.test
View file @
bda016b1
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment