We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 851357c commit b7cd36eCopy full SHA for b7cd36e
tests/test_exceptions/test_image_too_large.py
@@ -4,11 +4,10 @@
4
5
import io
6
import random
7
-from pathlib import Path
8
9
import pytest
10
-from requests import codes
11
from PIL import Image
+from requests import codes
12
13
from vws import VWS
14
from vws.exceptions import ImageTooLarge
@@ -47,7 +46,11 @@ def make_image_file(
47
46
return image_buffer
48
49
50
-def test_foo(client: VWS):
+def test_image_too_large(client: VWS) -> None:
+ """
51
+ When giving an image which is too large, an ``ImageTooLarge`` exception is
52
+ raised.
53
54
width = height = 890
55
56
png_too_large = make_image_file(
0 commit comments