Skip to content

Commit c1258c3

Browse files
authored
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.
1 parent 9245c6a commit c1258c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_writer.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test the pypdf._writer module."""
2+
23
import re
34
import shutil
45
import subprocess
@@ -1418,7 +1419,7 @@ def test_iss1767():
14181419
# twice to define catalog and one as an XObject inducing a loop when
14191420
# cloning
14201421
url = "https://github.com/py-pdf/pypdf/files/11138472/test.pdf"
1421-
name = "iss1723.pdf"
1422+
name = "iss1767.pdf"
14221423
reader = PdfReader(BytesIO(get_data_from_url(url, name=name)))
14231424
PdfWriter(clone_from=reader)
14241425

0 commit comments

Comments
 (0)