summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-08-15 18:42:49 +0100
committerSean Whitton <spwhitton@spwhitton.name>2019-12-11 11:38:08 -0700
commitf485a888d9421e8a9574eb9b7ff53f043bc965df (patch)
treebd1571d68f279a9b002d23770070532df6a68162
parente04f9994ec93cf38a9e9bb6c66ab96c4e992f757 (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')