From 98205b8384865ba54094ad3d7a062ce3a2baf827 Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Thu, 5 Nov 2020 16:22:23 -0800 Subject: [PATCH] PYTHON-2421 Stop testing geoSearch/geoHaystack on MongoDB 4.5+ (#512) --- test/test_collection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_collection.py b/test/test_collection.py index 0e2eb53d9..220ddab3a 100644 --- a/test/test_collection.py +++ b/test/test_collection.py @@ -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