From c1258c34f4e28e11f723bd90a42a71ba0fe91b55 Mon Sep 17 00:00:00 2001 From: Stefan Bourlon Date: Tue, 20 Feb 2024 11:27:03 -0800 Subject: [PATCH] TST: Resolve file naming conflict in test_iss1767 (#2445) The PDF filename used in test_iss1767() with conflicting with the filename in test_iss1723() Fixes #2442. --- 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)