Skip to content

Commit

Permalink
trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed May 7, 2024
1 parent ff66c06 commit 6743d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def test_multipart_encode_files_raises_exception_with_text_mode_file() -> None:
url = "https://www.example.com"
# TemporaryFiles are always binary mode on windows.
# For this test case where we need a text-mode file.
with io.StringIO("hello world") as temp:
with io.StringIO("xxx") as temp:
files = {"file": ("test.txt", temp, "text/plain")}
with pytest.raises(TypeError):
httpx.Request("POST", url, data={}, files=files) # type: ignore
Expand Down

0 comments on commit 6743d78

Please sign in to comment.