We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0193d55 commit b2c4560Copy full SHA for b2c4560
lib/matplotlib/tests/test_image.py
@@ -489,8 +489,8 @@ def test_flatten():
489
print("num colors [png, not flattened]: ", len(png_im.getcolors(256)))
490
491
assert len(jpg_im.getcolors(256)) >= 175 and len(jpg_im.getcolors(256)) <= 185
492
- assert len(pngF_im.getcolor(256)) == 256
493
- assert len(png_im.getcolor(256)) == 256
+ assert len(pngF_im.getcolors(256)) == 256
+ assert len(png_im.getcolors(256)) == 256
494
495
# The fully transparent part should be red, not white or black
496
# or anything else when flattened.
0 commit comments