Skip to content

Commit fe0c1b6

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

digital_image_processing/test_digital_image_processing.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,18 @@ def test_sepia():
8888

8989
def test_burkes():
9090
"""Test Burkes dithering algorithm."""
91-
burkes = bs.Burkes(imread("digital_image_processing/image_data/lena_small.jpg", 1), 120)
91+
burkes = bs.Burkes(
92+
imread("digital_image_processing/image_data/lena_small.jpg", 1), 120
93+
)
9294
burkes.process()
9395
assert burkes.output_img.any()
9496

9597

9698
def test_nearest_neighbour():
9799
"""Test nearest-neighbor resizing."""
98-
nn = rs.NearestNeighbour(imread("digital_image_processing/image_data/lena_small.jpg", 1), 400, 200)
100+
nn = rs.NearestNeighbour(
101+
imread("digital_image_processing/image_data/lena_small.jpg", 1), 400, 200
102+
)
99103
nn.process()
100104
assert nn.output.any()
101105

0 commit comments

Comments
 (0)