diff --git a/test/test_collection.py b/test/test_collection.py index 0e2eb53d9c..220ddab3a8 100644 --- a/test/test_collection.py +++ b/test/test_collection.py @@ -450,6 +450,8 @@ def test_index_geo2d(self): 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