mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-15 23:01:59 +03:00
Use new variable for different type
This commit is contained in:
parent
0dc62bad6a
commit
cb841664e7
|
@ -84,8 +84,8 @@ def test_rgbx() -> None:
|
|||
|
||||
with Image.open(io.BytesIO(data)) as im:
|
||||
r, g, b = im.split()
|
||||
im = Image.merge("RGB", (b, g, r))
|
||||
assert_image_equal_tofile(im, os.path.join(EXTRA_DIR, "32bpp.png"))
|
||||
im_bgr = Image.merge("RGB", (b, g, r))
|
||||
assert_image_equal_tofile(im_bgr, os.path.join(EXTRA_DIR, "32bpp.png"))
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
|
|
Loading…
Reference in New Issue
Block a user