Update Tests/test_file_gimppalette.py

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Joao S. O. Bueno 2022-10-07 01:57:35 -03:00 committed by GitHub
parent 2eb6976590
commit c345080996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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