Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test/image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,11 @@ def testSavePNG8(self):
del reader
os.remove(f_path)

@unittest.skipIf(
"PG_DEPS_FROM_SYSTEM" in os.environ,
"If we are using system dependencies, we don't know the backend used "
"for PNG saving, and this test only works with libpng.",
)
def testSavePaletteAsPNG8(self):
"""see if we can save a png with color values in the proper channels."""
# Create a PNG file with known colors
Expand Down
Loading