mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Use is None
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
3f6422b512
commit
ea0240bf2d
|
@ -147,7 +147,7 @@ class TestImageGetPixel(AccessTest):
|
||||||
pytest.skip("Support not added to deprecated module for BGR;* modes")
|
pytest.skip("Support not added to deprecated module for BGR;* modes")
|
||||||
|
|
||||||
expected_color = (
|
expected_color = (
|
||||||
expected_color_int if expected_color_int is not None else self.color(mode)
|
self.color(mode) if expected_color_int is None else expected_color_int
|
||||||
)
|
)
|
||||||
|
|
||||||
# check putpixel
|
# check putpixel
|
||||||
|
|
Loading…
Reference in New Issue
Block a user