Skip to content

Commit c63db77

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 60a1a20 commit c63db77

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tests/test_file_tiff.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -991,8 +991,7 @@ def test_string_dimension(self) -> None:
991991
@pytest.mark.timeout(6)
992992
@pytest.mark.filterwarnings("ignore:Truncated File Read")
993993
@pytest.mark.xfail(
994-
"PILLOW_VALGRIND_TEST" in os.environ,
995-
reason="Valgrind is slower"
994+
"PILLOW_VALGRIND_TEST" in os.environ, reason="Valgrind is slower"
996995
)
997996
def test_timeout(self, monkeypatch: pytest.MonkeyPatch) -> None:
998997
with Image.open("Tests/images/timeout-6646305047838720") as im:
@@ -1007,8 +1006,7 @@ def test_timeout(self, monkeypatch: pytest.MonkeyPatch) -> None:
10071006
)
10081007
@pytest.mark.timeout(2)
10091008
@pytest.mark.xfail(
1010-
"PILLOW_VALGRIND_TEST" in os.environ,
1011-
reason="Valgrind is slower"
1009+
"PILLOW_VALGRIND_TEST" in os.environ, reason="Valgrind is slower"
10121010
)
10131011
def test_oom(self, test_file: str) -> None:
10141012
with pytest.raises(UnidentifiedImageError):

0 commit comments

Comments
 (0)