PYTHON-2540 Stop testing resetError on 4.9+ (#564)

This commit is contained in:
Shane Harvey 2021-02-02 17:04:52 -08:00 committed by GitHub
parent d16874f4fd
commit 1af7b64440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -447,6 +447,8 @@ class TestDatabase(IntegrationTest):
self.assertTrue(isinstance(info[0]['op'], string_type))
self.assertTrue(isinstance(info[0]["ts"], datetime.datetime))
# SERVER-47817 removes the resetError command.
@client_context.require_version_max(4, 9)
@client_context.require_no_mongos
@ignore_deprecations
def test_errors(self):