Update Tests/test_imageops.py

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
German Novikov 2021-03-28 15:02:52 +03:00 committed by GitHub
parent 977e64fb61
commit d18e55013d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()