mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +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)
|
||||
|
||||
# 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
|
||||
out = ImageOps.autocontrast(gradient, cutoff=10, preserve_tone=True)
|
||||
hist = out.histogram()
|
||||
|
|
Loading…
Reference in New Issue
Block a user