Commit 65ba9cc1 authored by Tres Seaver's avatar Tres Seaver

Drop spurious doctest.

[ci skip]
parent 4346deb0
...@@ -65,17 +65,8 @@ class BTreeContainer(Contained, Persistent): ...@@ -65,17 +65,8 @@ class BTreeContainer(Contained, Persistent):
return OOBTree() return OOBTree()
def __contains__(self, key): def __contains__(self, key):
'''See interface IReadContainer """See interface IReadContainer
"""
>>> c = BTreeContainer()
>>> "a" in c
False
>>> c["a"] = 1
>>> "a" in c
True
>>> "A" in c
False
'''
return key in self._SampleContainer__data return key in self._SampleContainer__data
@Lazy @Lazy
......
...@@ -202,9 +202,6 @@ def test_suite(): ...@@ -202,9 +202,6 @@ def test_suite():
makeSuite(TestBTreeContainer), makeSuite(TestBTreeContainer),
makeSuite(TestBTreeSpecials), makeSuite(TestBTreeSpecials),
makeSuite(TestBTreeEvents), makeSuite(TestBTreeEvents),
DocTestSuite('zope.container.btree',
setUp=setUp,
tearDown=tearDown),
)) ))
if __name__=='__main__': if __name__=='__main__':
......
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