mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-04 20:03:20 +03:00
Remove timeout as the specific reason,
pytest-timeout doesn't raise a timeout error.
This commit is contained in:
parent
ff50e30d3e
commit
20b49a332b
|
@ -1036,8 +1036,7 @@ class TestFileJpeg:
|
||||||
@pytest.mark.timeout(timeout=1)
|
@pytest.mark.timeout(timeout=1)
|
||||||
@pytest.mark.xfail(
|
@pytest.mark.xfail(
|
||||||
"PILLOW_VALGRIND_TEST" in os.environ,
|
"PILLOW_VALGRIND_TEST" in os.environ,
|
||||||
reason="Valgrind is slower",
|
reason="Valgrind is slower"
|
||||||
raises=TimeoutError
|
|
||||||
)
|
)
|
||||||
def test_eof(self, monkeypatch: pytest.MonkeyPatch) -> None:
|
def test_eof(self, monkeypatch: pytest.MonkeyPatch) -> None:
|
||||||
# Even though this decoder never says that it is finished
|
# Even though this decoder never says that it is finished
|
||||||
|
|
|
@ -76,8 +76,7 @@ def test_decompression_bomb() -> None:
|
||||||
@pytest.mark.timeout(4)
|
@pytest.mark.timeout(4)
|
||||||
@pytest.mark.xfail(
|
@pytest.mark.xfail(
|
||||||
"PILLOW_VALGRIND_TEST" in os.environ,
|
"PILLOW_VALGRIND_TEST" in os.environ,
|
||||||
reason="Valgrind is slower",
|
reason="Valgrind is slower"
|
||||||
raises=TimeoutError
|
|
||||||
)
|
)
|
||||||
def test_oom() -> None:
|
def test_oom() -> None:
|
||||||
glyph = struct.pack(
|
glyph = struct.pack(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user