Skip to content

Commit e1c8f75

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f4209d2 commit e1c8f75

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

CONTRIBUTORS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,9 @@ Moss Collum
284284
Mun Gwan-gyeong
285285
Navid Sheikhol
286286
Nicolas Braem
287+
Nikita Zamuldinov
287288
Nikolay Kim
288289
Nikolay Novik
289-
Nikita Zamuldinov
290290
Nikolay Tiunov
291291
Nándor Mátravölgyi
292292
Oisin Aylward

tests/test_multipart.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,7 @@ async def test_read_returns_bytes_not_bytearray(self) -> None:
197197
async def test_read_decode_returns_bytes_not_bytearray(self) -> None:
198198
"""BodyPartReader.read(decode=True) must return bytes, not bytearray (#12404)."""
199199
data = gzip.compress(b"Hello, world!")
200-
headers = CIMultiDictProxy[str](
201-
CIMultiDict({CONTENT_ENCODING: "gzip"})
202-
)
200+
headers = CIMultiDictProxy[str](CIMultiDict({CONTENT_ENCODING: "gzip"}))
203201
with Stream(data + b"\r\n--:") as stream:
204202
obj = aiohttp.BodyPartReader(BOUNDARY, headers, stream, subtype="mixed")
205203
result = await obj.read(decode=True)

0 commit comments

Comments
 (0)