Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bénédikt Tran <[email protected]>
  • Loading branch information
devdanzin and picnixz authored Oct 26, 2024
1 parent b775f5d commit 6234c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/test/audit-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def test_assert_unicode():
sys.addaudithook(lambda *args: None)
try:
sys.audit(9)
except:
except TypeError:
pass


Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def test_winapi_createnamedpipe(self):
self.assertEqual(actual, expected)

def test_assert_unicode(self):
returncode, events, stderr = self.run_python("test_assert_unicode")
returncode, _, stderr = self.run_python("test_assert_unicode")
if returncode:
self.fail(stderr)

Expand Down

0 comments on commit 6234c5d

Please sign in to comment.