We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8138533 commit 96589c5Copy full SHA for 96589c5
Tests/test_file_tiff.py
@@ -18,6 +18,8 @@
18
assert_image_similar,
19
assert_image_similar_tofile,
20
hopper,
21
+ is_big_endian,
22
+ is_ppc64le,
23
is_pypy,
24
is_win32,
25
)
@@ -950,7 +952,7 @@ def test_string_dimension(self) -> None:
950
952
with pytest.raises(OSError):
951
953
im.load()
954
- @pytest.mark.timeout(6)
955
+ @pytest.mark.timeout(10 if (is_ppc64le() or is_big_endian()) else 6)
956
@pytest.mark.filterwarnings("ignore:Truncated File Read")
957
def test_timeout(self, monkeypatch: pytest.MonkeyPatch) -> None:
958
with Image.open("Tests/images/timeout-6646305047838720") as im:
0 commit comments