File: 0010-Temporarily-skip-a-pdfa-test.patch

package info (click to toggle)
fpdf2 2.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 53,544 kB
  • sloc: python: 38,982; sh: 84; makefile: 12
file content (25 lines) | stat: -rw-r--r-- 783 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Elena ``of Valhalla'' Grandi <valhalla@debian.org>
Date: Mon, 5 May 2025 14:16:26 +0200
Subject: Temporarily skip a pdfa test

Forwarded: not-needed
---
 test/pdf-a/test_pdf_a.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/pdf-a/test_pdf_a.py b/test/pdf-a/test_pdf_a.py
index fb6615b..b69dd6f 100644
--- a/test/pdf-a/test_pdf_a.py
+++ b/test/pdf-a/test_pdf_a.py
@@ -55,9 +55,8 @@ class PDF(FPDF):
             pdf.save(deterministic_id=True)
 
 
-@pytest.mark.skipif(
-    sys.version_info < (3, 9),
-    reason="Fails on Python 3.8 because the PDFFontStream contents change",
+@pytest.mark.skip(
+    reason="Skip on Debian because tutorial/sRGB2014.icc is not available in the build area",
 )
 def test_basic_pdfa(tmp_path):
     pdf = PDF(