From ff66c060b740392db36c44cc396b78a6cecbaabd Mon Sep 17 00:00:00 2001 From: Trim21 Date: Wed, 8 May 2024 06:47:37 +0800 Subject: [PATCH] comment --- tests/test_multipart.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_multipart.py b/tests/test_multipart.py index bd2a0f3912..abe699a754 100644 --- a/tests/test_multipart.py +++ b/tests/test_multipart.py @@ -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):