Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 1, 2024
1 parent 32365a5 commit be8796c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_filesize.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@
([10**26 * 30, True, False, "%.3f"], "2.423 RiB"),
],
)
def test_naturalsize(
test_args: list[int | str] | list[int | bool], expected: str
) -> None:
def test_naturalsize(test_args: list[int] | list[int | bool], expected: str) -> None:
assert humanize.naturalsize(*test_args) == expected

# Retest with negative input
Expand Down

0 comments on commit be8796c

Please sign in to comment.