Skip to content

Commit bb11d73

Browse files
committed
PYTHON-2540 Stop testing resetError on 4.9+ (#564)
(cherry picked from commit 1af7b64)
1 parent d69da74 commit bb11d73

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
@@ -444,6 +444,8 @@ def test_profiling_info(self):
444444
self.assertTrue(isinstance(info[0]['op'], string_type))
445445
self.assertTrue(isinstance(info[0]["ts"], datetime.datetime))
446446

447+
# SERVER-47817 removes the resetError command.
448+
@client_context.require_version_max(4, 9)
447449
@client_context.require_no_mongos
448450
@ignore_deprecations
449451
def test_errors(self):

0 commit comments

Comments
 (0)