summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-08-15 18:42:49 +0100
committerSean Whitton <spwhitton@spwhitton.name>2019-11-12 09:40:42 -0700
commitb6b09340d26288cd1cd2829e47c22313f02391d1 (patch)
tree92a43f77a22aa3a06f49614814480f8de6a6e318
parentc0f40242a854e0672e2dafc97ede839f87a94a16 (diff)
disable test_icc_extract
Requires a test resource in Files-Excluded. Gbp-Pq: Name disable-test_icc_extract.patch
-rw-r--r--tests/test_image_access.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/test_image_access.py b/tests/test_image_access.py
index b88a5ad..9f0426d 100644
--- a/tests/test_image_access.py
+++ b/tests/test_image_access.py
@@ -321,13 +321,6 @@ def test_icc_use(resources):
assert pim.icc.profile.xcolor_space == 'GRAY'
-def test_icc_extract(resources):
- xobj, _pdf = first_image_in(resources / 'tree-icc.pdf')
-
- pim = PdfImage(xobj)
- assert pim.as_pil_image().info['icc_profile'] == pim.icc.tobytes()
-
-
def test_stacked_compression(resources):
xobj, _pdf = first_image_in(resources / 'pike-flate-jp2.pdf')