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
2268f9d3
Commit
2268f9d3
authored
Oct 26, 2008
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed a test that tested a missfeatre to test a feature.
parent
2ccc85c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/ZODB/tests/IteratorStorage.py
src/ZODB/tests/IteratorStorage.py
+1
-2
No files found.
src/ZODB/tests/IteratorStorage.py
View file @
2268f9d3
...
@@ -138,8 +138,7 @@ class IteratorStorage(IteratorCompare):
...
@@ -138,8 +138,7 @@ class IteratorStorage(IteratorCompare):
self
.
_dostore
()
self
.
_dostore
()
tinfo
=
self
.
_storage
.
iterator
().
next
()
tinfo
=
self
.
_storage
.
iterator
().
next
()
self
.
assertEquals
(
1
,
len
(
list
(
tinfo
)))
self
.
assertEquals
(
1
,
len
(
list
(
tinfo
)))
# The iterator can only be consumed once:
self
.
assertEquals
(
1
,
len
(
list
(
tinfo
)))
self
.
assertEquals
(
0
,
len
(
list
(
tinfo
)))
def
checkIterateWhileWriting
(
self
):
def
checkIterateWhileWriting
(
self
):
self
.
_dostore
()
self
.
_dostore
()
...
...
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