Skip dropDups test on mongo versions newer than 2.6.x
The dropDups option is no longer supported in MongoDB.
This commit is contained in:
parent
3e059f76d7
commit
071137ddde
@ -481,6 +481,7 @@ class TestCollection(IntegrationTest):
|
||||
db.test.insert({'i': 2}) # duplicate
|
||||
db.test.insert({'i': 3})
|
||||
|
||||
@client_context.require_version_max(2, 6)
|
||||
def test_index_drop_dups(self):
|
||||
# Try dropping duplicates
|
||||
db = self.db
|
||||
|
||||
Loading…
Reference in New Issue
Block a user