Skip to content

Commit

Permalink
Merge pull request #6660 from radarhere/print
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 13, 2022
2 parents f63cc58 + 9602908 commit 44510d2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Tests/test_imagemath.py
Expand Up @@ -6,10 +6,8 @@
def pixel(im):
if hasattr(im, "im"):
return f"{im.mode} {repr(im.getpixel((0, 0)))}"
else:
if isinstance(im, int):
return int(im) # hack to deal with booleans
print(im)
elif isinstance(im, int):
return int(im) # hack to deal with booleans


A = Image.new("L", (1, 1), 1)
Expand Down

0 comments on commit 44510d2

Please sign in to comment.