Commit 72c9dca
committed
Fix a DeprecationWarning from aiohttp in TestPetPhotoView
The warning says, “In v4, passing bytes will no longer create a file
field. Please explicitly use the filename parameter or pass a BytesIO
object.” This commit implements the latter approach.1 parent 99af2d3 commit 72c9dca
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments