Skip to content

Commit 668f9e7

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tests/test_image_resample.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,6 @@ def test_resampling_clamp(self) -> None:
654654
for y in range(height):
655655
for x in range(20):
656656
expected = max(0, min(65535, round(px_f[x, y])))
657-
assert px_16[x, y] == expected, (
658-
f"Pixel ({x}, {y}): expected {expected}, got {px_16[x, y]}"
659-
)
657+
assert (
658+
px_16[x, y] == expected
659+
), f"Pixel ({x}, {y}): expected {expected}, got {px_16[x, y]}"

0 commit comments

Comments
 (0)