Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2c4560

Browse files
committed
Fix typo in tests
1 parent 0193d55 commit b2c4560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ def test_flatten():
489489
print("num colors [png, not flattened]: ", len(png_im.getcolors(256)))
490490

491491
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
492+
assert len(pngF_im.getcolors(256)) == 256
493+
assert len(png_im.getcolors(256)) == 256
494494

495495
# The fully transparent part should be red, not white or black
496496
# or anything else when flattened.

0 commit comments

Comments
 (0)