Skip to content

Commit

Permalink
Merge pull request #836 from musicinmybrain/aiohttp-3.9.4
Browse files Browse the repository at this point in the history
Fix a DeprecationWarning from aiohttp in TestPetPhotoView
  • Loading branch information
p1c2u committed Apr 24, 2024
2 parents 99af2d3 + 72c9dca commit 9f42906
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/contrib/aiohttp/test_aiohttp_project.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import sys
from base64 import b64encode
from io import BytesIO

import pytest

Expand Down Expand Up @@ -63,7 +64,7 @@ async def test_post_valid(self, client, data_gif):
"Host": "petstore.swagger.io",
}
data = {
"file": data_gif,
"file": BytesIO(data_gif),
}

cookies = {"user": "1"}
Expand Down

0 comments on commit 9f42906

Please sign in to comment.