Skip to content

Commit

Permalink
fixup! Reorder requirements file decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhughes934 committed Dec 26, 2024
1 parent afac4fb commit fd2801e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_req_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ def test_warns_and_fallsback_to_locale_on_utf8_decode_fail(
assert str(reqs[0].specifier) == "<=24.0"

@pytest.mark.parametrize("encoding", ["utf-8", "gbk"])
def test_erorrs_on_non_decodable_data(
def test_errors_on_non_decodable_data(
self, encoding: str, tmpdir: Path, session: PipSession
) -> None:
data = b"\xff"
Expand Down

0 comments on commit fd2801e

Please sign in to comment.