mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Update Tests/test_imageops.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
b4e5a6d202
commit
25403063ea
|
@ -366,9 +366,7 @@ def test_auto_contrast_mask_real_input():
|
||||||
|
|
||||||
|
|
||||||
def test_autocontrast_preserve_gradient():
|
def test_autocontrast_preserve_gradient():
|
||||||
from PIL import _imaging as core
|
gradient = Image.linear_gradient("L"))
|
||||||
|
|
||||||
gradient = Image.Image()._new(core.linear_gradient("L"))
|
|
||||||
|
|
||||||
# test with a grayscale gradient that extends to 0,255.
|
# test with a grayscale gradient that extends to 0,255.
|
||||||
# Should be a noop.
|
# Should be a noop.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user