Skip to content

Commit

Permalink
Unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 26, 2024
1 parent c3c5989 commit 152e20f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codespell_lib/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def test_permission_error(
fname.write_text("abandonned\n")
result = cs.main(fname, std=True)
assert isinstance(result, tuple)
code, _, stderr = result
_, _, stderr = result
assert "WARNING:" not in stderr
fname.chmod(0o000)
result = cs.main(fname, std=True)
Expand Down Expand Up @@ -772,7 +772,7 @@ def _helper_test_case_handling_in_fixes(
fname.write_text("early adoptor\n")
result = cs.main("-D", dictionary_name, fname, std=True)
assert isinstance(result, tuple)
code, stdout, _ = result
_, stdout, _ = result
# all suggested fixes must be lowercase too
assert "adopter, adaptor" in stdout
# the reason, if any, must not be modified
Expand Down

0 comments on commit 152e20f

Please sign in to comment.