Skip to content

Commit 7860e51

Browse files
Fix typechecking errors
1 parent ad90ed0 commit 7860e51

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/asynchronous/test_database.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -462,11 +462,11 @@ async def test_cursor_command_invalid(self):
462462
@async_client_context.require_no_fips
463463
def test_password_digest(self):
464464
with self.assertRaises(TypeError):
465-
auth._password_digest(5) # type: ignore[call-arg]
465+
auth._password_digest(5) # type: ignore
466466
with self.assertRaises(TypeError):
467-
auth._password_digest(True) # type: ignore[call-arg]
467+
auth._password_digest(True) # type: ignore
468468
with self.assertRaises(TypeError):
469-
auth._password_digest(None) # type: ignore[call-arg]
469+
auth._password_digest(None) # type: ignore
470470

471471
self.assertTrue(isinstance(auth._password_digest("mike", "password"), str))
472472
self.assertEqual(

test/synchronous/test_database.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,11 @@ def test_cursor_command_invalid(self):
458458
@client_context.require_no_fips
459459
def test_password_digest(self):
460460
with self.assertRaises(TypeError):
461-
auth._password_digest(5) # type: ignore[call-arg]
461+
auth._password_digest(5) # type: ignore
462462
with self.assertRaises(TypeError):
463-
auth._password_digest(True) # type: ignore[call-arg]
463+
auth._password_digest(True) # type: ignore
464464
with self.assertRaises(TypeError):
465-
auth._password_digest(None) # type: ignore[call-arg]
465+
auth._password_digest(None) # type: ignore
466466

467467
self.assertTrue(isinstance(auth._password_digest("mike", "password"), str))
468468
self.assertEqual(

0 commit comments

Comments
 (0)