Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zope-container
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
zope-container
Commits
65ba9cc1
Commit
65ba9cc1
authored
Feb 25, 2015
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop spurious doctest.
[ci skip]
parent
4346deb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
src/zope/container/btree.py
src/zope/container/btree.py
+2
-11
src/zope/container/tests/test_btree.py
src/zope/container/tests/test_btree.py
+0
-3
No files found.
src/zope/container/btree.py
View file @
65ba9cc1
...
...
@@ -65,17 +65,8 @@ class BTreeContainer(Contained, Persistent):
return
OOBTree
()
def
__contains__
(
self
,
key
):
'''See interface IReadContainer
>>> c = BTreeContainer()
>>> "a" in c
False
>>> c["a"] = 1
>>> "a" in c
True
>>> "A" in c
False
'''
"""See interface IReadContainer
"""
return
key
in
self
.
_SampleContainer__data
@
Lazy
...
...
src/zope/container/tests/test_btree.py
View file @
65ba9cc1
...
...
@@ -202,9 +202,6 @@ def test_suite():
makeSuite
(
TestBTreeContainer
),
makeSuite
(
TestBTreeSpecials
),
makeSuite
(
TestBTreeEvents
),
DocTestSuite
(
'zope.container.btree'
,
setUp
=
setUp
,
tearDown
=
tearDown
),
))
if
__name__
==
'__main__'
:
...
...
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