Skip to content

Commit 44510d2

Browse files
authored
Merge pull request #6660 from radarhere/print
2 parents f63cc58 + 9602908 commit 44510d2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tests/test_imagemath.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
def pixel(im):
77
if hasattr(im, "im"):
88
return f"{im.mode} {repr(im.getpixel((0, 0)))}"
9-
else:
10-
if isinstance(im, int):
11-
return int(im) # hack to deal with booleans
12-
print(im)
9+
elif isinstance(im, int):
10+
return int(im) # hack to deal with booleans
1311

1412

1513
A = Image.new("L", (1, 1), 1)

0 commit comments

Comments
 (0)