We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c92e552 commit 98205b8Copy full SHA for 98205b8
test/test_collection.py
@@ -450,6 +450,8 @@ def test_index_geo2d(self):
450
index_info = db.test.index_information()['loc_2d']
451
self.assertEqual([('loc', '2d')], index_info['key'])
452
453
+ # geoSearch was deprecated in 4.4 and removed in 5.0
454
+ @client_context.require_version_max(4, 5)
455
@client_context.require_no_mongos
456
def test_index_haystack(self):
457
db = self.db
0 commit comments