mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-03 03:13:04 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
60a1a20536
commit
c63db77db3
|
@ -991,8 +991,7 @@ class TestFileTiff:
|
|||
@pytest.mark.timeout(6)
|
||||
@pytest.mark.filterwarnings("ignore:Truncated File Read")
|
||||
@pytest.mark.xfail(
|
||||
"PILLOW_VALGRIND_TEST" in os.environ,
|
||||
reason="Valgrind is slower"
|
||||
"PILLOW_VALGRIND_TEST" in os.environ, reason="Valgrind is slower"
|
||||
)
|
||||
def test_timeout(self, monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
with Image.open("Tests/images/timeout-6646305047838720") as im:
|
||||
|
@ -1007,8 +1006,7 @@ class TestFileTiff:
|
|||
)
|
||||
@pytest.mark.timeout(2)
|
||||
@pytest.mark.xfail(
|
||||
"PILLOW_VALGRIND_TEST" in os.environ,
|
||||
reason="Valgrind is slower"
|
||||
"PILLOW_VALGRIND_TEST" in os.environ, reason="Valgrind is slower"
|
||||
)
|
||||
def test_oom(self, test_file: str) -> None:
|
||||
with pytest.raises(UnidentifiedImageError):
|
||||
|
|
Loading…
Reference in New Issue
Block a user