PYTHON-2421 Stop testing geoSearch/geoHaystack on MongoDB 4.5+ (#512)
This commit is contained in:
parent
c92e5520b5
commit
98205b8384
@ -450,6 +450,8 @@ class TestCollection(IntegrationTest):
|
||||
index_info = db.test.index_information()['loc_2d']
|
||||
self.assertEqual([('loc', '2d')], index_info['key'])
|
||||
|
||||
# geoSearch was deprecated in 4.4 and removed in 5.0
|
||||
@client_context.require_version_max(4, 5)
|
||||
@client_context.require_no_mongos
|
||||
def test_index_haystack(self):
|
||||
db = self.db
|
||||
|
||||
Loading…
Reference in New Issue
Block a user