mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-13 09:33:21 +03:00
Update Tests/test_imageops.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
977e64fb61
commit
d18e55013d
|
@ -375,7 +375,7 @@ def test_autocontrast_preserve_gradient():
|
||||||
assert_image_equal(gradient, out)
|
assert_image_equal(gradient, out)
|
||||||
|
|
||||||
# cutoff the top and bottom
|
# cutoff the top and bottom
|
||||||
# autocontrast should make the first and list histogram entries equal
|
# autocontrast should make the first and last histogram entries equal
|
||||||
# and, with rounding, should be 10% of the image pixels
|
# and, with rounding, should be 10% of the image pixels
|
||||||
out = ImageOps.autocontrast(gradient, cutoff=10, preserve_tone=True)
|
out = ImageOps.autocontrast(gradient, cutoff=10, preserve_tone=True)
|
||||||
hist = out.histogram()
|
hist = out.histogram()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user