Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed May 7, 2024
1 parent 3794723 commit ff66c06
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,6 @@ 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.
# We make sure to create-and-write in binary mode first,
# and then open the file in text mode.
with io.StringIO("hello world") as temp:
files = {"file": ("test.txt", temp, "text/plain")}
with pytest.raises(TypeError):
Expand Down

0 comments on commit ff66c06

Please sign in to comment.