Skip to content

Commit

Permalink
Update tests/test_formdata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Aug 30, 2024
1 parent 66b7830 commit 3b4fa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_formdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_invalid_formdata_params2() -> None:
FormData("as") # 2-char str is not allowed


async def test_formdata_textio_charset(buf: bytearray, writer: StreamWriter) -> None:
async def test_formdata_textio_charset(buf: bytearray, writer) -> None:
form = FormData()
body = io.TextIOWrapper(io.BytesIO(b"\xe6\x97\xa5\xe6\x9c\xac"), encoding="utf-8")
form.add_field("foo", body, content_type="text/plain; charset=shift-jis")
Expand Down

0 comments on commit 3b4fa1d

Please sign in to comment.