File tree Expand file tree Collapse file tree 3 files changed +1
-9
lines changed
Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -688,8 +688,6 @@ def validate_image_size(
688688 The result of calling the endpoint.
689689 An `UNPROCESSABLE_ENTITY` response if the image is given and is not
690690 under a certain file size threshold.
691- This threshold is documented as being 2 MB but it is actually
692- slightly larger. See the `png_large` fixture for more details.
693691 """
694692 request , context = args
695693
Original file line number Diff line number Diff line change @@ -389,10 +389,7 @@ def test_image_valid(
389389 ) -> None :
390390 """
391391 JPEG and PNG files in the RGB and greyscale color spaces are
392- allowed. The image must be under a threshold.
393-
394- This threshold is documented as being 2 MB but it is actually
395- slightly larger. See the `png_large` fixture for more details.
392+ allowed.
396393 """
397394 image_data = image_file .read ()
398395 image_data_encoded = base64 .b64encode (image_data ).decode ('ascii' )
Original file line number Diff line number Diff line change @@ -711,9 +711,6 @@ def test_image_valid(
711711 """
712712 JPEG and PNG files in the RGB and greyscale color spaces are
713713 allowed. The image must be under a threshold.
714-
715- This threshold is documented as being 2 MB but it is actually
716- slightly larger. See the `png_large` fixture for more details.
717714 """
718715 image_data = image_file .read ()
719716 image_data_encoded = base64 .b64encode (image_data ).decode ('ascii' )
You can’t perform that action at this time.
0 commit comments