Skip to content

Commit 00b375f

Browse files
author
Mike Dirolf
committed
skip distinct test prior to version 1.1
1 parent 84d8d2f commit 00b375f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_collection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,9 @@ def test_cursor_timeout(self):
792792
list(self.db.test.find(timeout=True))
793793

794794
def test_distinct(self):
795+
if not version.at_least(self.db.connection(), (1, 1)):
796+
raise SkipTest()
797+
795798
self.db.drop_collection("test")
796799

797800
self.db.test.save({"a": 1})

0 commit comments

Comments
 (0)