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-22 15:27:13 +03:00 committed by GitHub
parent b4e5a6d202
commit 25403063ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,9 +366,7 @@ def test_auto_contrast_mask_real_input():
def test_autocontrast_preserve_gradient():
from PIL import _imaging as core
gradient = Image.Image()._new(core.linear_gradient("L"))
gradient = Image.linear_gradient("L"))
# test with a grayscale gradient that extends to 0,255.
# Should be a noop.