From 977e64fb6150b04fcbe2ae29eadd893df443f9c9 Mon Sep 17 00:00:00 2001 From: German Novikov Date: Thu, 25 Mar 2021 14:56:30 +0300 Subject: [PATCH] Update Tests/test_imageops.py Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- Tests/test_imageops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_imageops.py b/Tests/test_imageops.py index 8d12f6869..986c5f887 100644 --- a/Tests/test_imageops.py +++ b/Tests/test_imageops.py @@ -376,7 +376,7 @@ def test_autocontrast_preserve_gradient(): # cutoff the top and bottom # autocontrast should make the first and list histogram entries equal - # and should be 10% of the image pixels (+-, because integers) + # and, with rounding, should be 10% of the image pixels out = ImageOps.autocontrast(gradient, cutoff=10, preserve_tone=True) hist = out.histogram() assert hist[0] == hist[-1]