PYTHON-2721 Reenable regex flags test on MongoDB 5.0+ (#779)

This commit is contained in:
Julius Park 2021-11-05 13:07:07 -07:00 committed by GitHub
parent e27131546c
commit 420d74095d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1132,7 +1132,6 @@ class TestCollection(IntegrationTest):
self.assertTrue("x" not in db.test.find_one(projection={"x": 0}))
self.assertTrue("mike" in db.test.find_one(projection={"x": 0}))
@client_context.require_version_max(4, 9, -1) # PYTHON-2721
def test_find_w_regex(self):
db = self.db
db.test.delete_many({})