From a1e8a917a70db1d37402f9a75435f722dca29ca9 Mon Sep 17 00:00:00 2001 From: Stefan Bourlon Date: Wed, 7 Feb 2024 11:18:57 -0800 Subject: [PATCH] TST: resolve file naming conflict in test_iss1767 The PDF filename used in test_iss1767() with conflicting with the filename in test_iss1723() --- tests/test_writer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_writer.py b/tests/test_writer.py index 74bd1dd52..b6e84ca98 100644 --- a/tests/test_writer.py +++ b/tests/test_writer.py @@ -1,4 +1,5 @@ """Test the pypdf._writer module.""" + import re import shutil import subprocess @@ -1418,7 +1419,7 @@ def test_iss1767(): # twice to define catalog and one as an XObject inducing a loop when # cloning url = "https://github.com/py-pdf/pypdf/files/11138472/test.pdf" - name = "iss1723.pdf" + name = "iss1767.pdf" reader = PdfReader(BytesIO(get_data_from_url(url, name=name))) PdfWriter(clone_from=reader)