PYTHON-5800 - Simple collation is included in index information (#2761)

This commit is contained in:
Noah Stapp 2026-04-16 12:25:23 -04:00 committed by GitHub
parent f31ba09713
commit b4e2c03a92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -257,7 +257,6 @@ class TestCollation(AsyncIntegrationTest):
self.assertEqual(
ja_collation.document["locale"], indexes["japanese_version"]["collation"]["locale"]
)
self.assertNotIn("collation", indexes["simple"])
await self.db.test.drop_index("fieldname_1")
indexes = await self.db.test.index_information()
self.assertIn("japanese_version", indexes)

View File

@ -257,7 +257,6 @@ class TestCollation(IntegrationTest):
self.assertEqual(
ja_collation.document["locale"], indexes["japanese_version"]["collation"]["locale"]
)
self.assertNotIn("collation", indexes["simple"])
self.db.test.drop_index("fieldname_1")
indexes = self.db.test.index_information()
self.assertIn("japanese_version", indexes)