Skip to content

Commit 3a1d3de

Browse files
author
twhalen
committed
change in docttest
1 parent 880ed1e commit 3a1d3de

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

py2store/stores/mongo_store.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,8 @@ class MongoAnyKeyStore(MongoStore):
5555
>>> s = MongoAnyKeyStore(db_name='py2store_tests', collection_name='tmp', )
5656
>>> for k in s: del s[k]
5757
>>> s['foo'] = {'must': 'be', 'a': 'dict'}
58-
>>> assert s['foo']
58+
>>> s['foo']
5959
{'must': 'be', 'a': 'dict'}
60-
>>> ss = MongoStore()
61-
>>> ss[{'_id': 'foo'}] # see that 'foo' was actually put in the _id field
62-
>>>
6360
"""
6461

6562
@wraps(MongoStore.__init__)

0 commit comments

Comments
 (0)