Skip to content

Commit dfec187

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/test_file_jpeg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ def test_save_xmp(self, tmp_path: Path) -> None:
10371037
@pytest.mark.xfail(
10381038
"PILLOW_VALGRIND_TEST" in os.environ,
10391039
reason="Valgrind is slower",
1040-
raises=TimeoutError
1040+
raises=TimeoutError,
10411041
)
10421042
def test_eof(self, monkeypatch: pytest.MonkeyPatch) -> None:
10431043
# Even though this decoder never says that it is finished

Tests/test_imagefontpil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from __future__ import annotations
22

3+
import os
34
import struct
45
from io import BytesIO
5-
import os
66

77
import pytest
88

@@ -77,7 +77,7 @@ def test_decompression_bomb() -> None:
7777
@pytest.mark.xfail(
7878
"PILLOW_VALGRIND_TEST" in os.environ,
7979
reason="Valgrind is slower",
80-
raises=TimeoutError
80+
raises=TimeoutError,
8181
)
8282
def test_oom() -> None:
8383
glyph = struct.pack(

0 commit comments

Comments
 (0)