Skip to content

Commit f3a7ca4

Browse files
committed
No longer skip maximum image file size test
The bug which needed us to skip it is now resolved in Python 3.13
1 parent 26659a4 commit f3a7ca4

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

tests/mock_vws/test_query.py

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import datetime
1010
import io
1111
import json
12-
import sys
1312
import textwrap
1413
import time
1514
import uuid
@@ -1395,16 +1394,7 @@ class TestMaximumImageFileSize:
13951394
"""
13961395

13971396
@staticmethod
1398-
@pytest.mark.skipif(
1399-
sys.version_info > (3, 9),
1400-
reason=(
1401-
"There is a bug in urllib3: "
1402-
"https://github.com/urllib3/urllib3/issues/2733"
1403-
),
1404-
)
1405-
def test_png(
1406-
cloud_reco_client: CloudRecoService,
1407-
) -> None: # pragma: no cover
1397+
def test_png(cloud_reco_client: CloudRecoService) -> None:
14081398
"""
14091399
According to
14101400
https://developer.vuforia.com/library/web-api/vuforia-query-web-api.
@@ -1474,16 +1464,7 @@ def test_png(
14741464
assert response.text == _NGINX_REQUEST_ENTITY_TOO_LARGE_ERROR
14751465

14761466
@staticmethod
1477-
@pytest.mark.skipif(
1478-
sys.version_info > (3, 9),
1479-
reason=(
1480-
"There is a bug in urllib3: "
1481-
"https://github.com/urllib3/urllib3/issues/2733"
1482-
),
1483-
)
1484-
def test_jpeg(
1485-
cloud_reco_client: CloudRecoService,
1486-
) -> None: # pragma: no cover
1467+
def test_jpeg(cloud_reco_client: CloudRecoService) -> None:
14871468
"""
14881469
According to
14891470
https://developer.vuforia.com/library/web-api/vuforia-query-web-api.

0 commit comments

Comments
 (0)