mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-03 03:50:09 +03:00
Update Tests/test_file_gimppalette.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
2eb6976590
commit
c345080996
|
@ -59,12 +59,3 @@ def test_get_palette():
|
|||
expected_palette += bytes(color)
|
||||
assert palette == expected_palette
|
||||
assert mode == "RGB"
|
||||
|
||||
|
||||
def test_n_colors():
|
||||
# Arrange
|
||||
with open("Tests/images/custom_gimp_palette.gpl", "rb") as fp:
|
||||
palette_file = GimpPaletteFile(fp)
|
||||
|
||||
palette, _ = palette_file.getpalette()
|
||||
assert len(palette) == 24
|
||||
|
|
Loading…
Reference in New Issue
Block a user