From f3a7ca4847a4e9d03d09cdbdb7610d0f985a0601 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Thu, 30 Jan 2025 01:00:48 +0000 Subject: [PATCH] No longer skip maximum image file size test The bug which needed us to skip it is now resolved in Python 3.13 --- tests/mock_vws/test_query.py | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/tests/mock_vws/test_query.py b/tests/mock_vws/test_query.py index 151240777..82bb18c88 100644 --- a/tests/mock_vws/test_query.py +++ b/tests/mock_vws/test_query.py @@ -9,7 +9,6 @@ import datetime import io import json -import sys import textwrap import time import uuid @@ -1395,16 +1394,7 @@ class TestMaximumImageFileSize: """ @staticmethod - @pytest.mark.skipif( - sys.version_info > (3, 9), - reason=( - "There is a bug in urllib3: " - "https://github.com/urllib3/urllib3/issues/2733" - ), - ) - def test_png( - cloud_reco_client: CloudRecoService, - ) -> None: # pragma: no cover + def test_png(cloud_reco_client: CloudRecoService) -> None: """ According to https://developer.vuforia.com/library/web-api/vuforia-query-web-api. @@ -1474,16 +1464,7 @@ def test_png( assert response.text == _NGINX_REQUEST_ENTITY_TOO_LARGE_ERROR @staticmethod - @pytest.mark.skipif( - sys.version_info > (3, 9), - reason=( - "There is a bug in urllib3: " - "https://github.com/urllib3/urllib3/issues/2733" - ), - ) - def test_jpeg( - cloud_reco_client: CloudRecoService, - ) -> None: # pragma: no cover + def test_jpeg(cloud_reco_client: CloudRecoService) -> None: """ According to https://developer.vuforia.com/library/web-api/vuforia-query-web-api.