Skip to content

Commit 1af7b64

Browse files
authored
PYTHON-2540 Stop testing resetError on 4.9+ (#564)
1 parent d16874f commit 1af7b64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_database.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ def test_profiling_info(self):
447447
self.assertTrue(isinstance(info[0]['op'], string_type))
448448
self.assertTrue(isinstance(info[0]["ts"], datetime.datetime))
449449

450+
# SERVER-47817 removes the resetError command.
451+
@client_context.require_version_max(4, 9)
450452
@client_context.require_no_mongos
451453
@ignore_deprecations
452454
def test_errors(self):

0 commit comments

Comments
 (0)