Skip to content

Commit a426aef

Browse files
committed
PYTHON-1250 - Fix replace_one test
1 parent 9193e57 commit a426aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def test_update_and_replace(self):
600600
self.assertEqual(len(doc.keys()), 2)
601601
self.assertTrue("item" in doc)
602602
self.assertTrue("instock" in doc)
603-
self.assertTrue(len(doc["instock"]), 2)
603+
self.assertEqual(len(doc["instock"]), 2)
604604

605605
def test_delete(self):
606606
db = client_context.client.pymongo_test

0 commit comments

Comments
 (0)