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:
Bernie Hackett 2014-08-22 12:54:17 -07:00
parent 3e059f76d7
commit 071137ddde

View File

@ -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