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

(cherry picked from commit 1af7b64440)
This commit is contained in:
Shane Harvey 2021-02-02 17:04:52 -08:00 committed by Shane Harvey
parent d69da74eb6
commit bb11d7321b

View File

@ -444,6 +444,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):