Skip to content

Commit

Permalink
TST: Resolve file naming conflict in test_iss1767 (#2445)
Browse files Browse the repository at this point in the history
The PDF filename used in test_iss1767() with conflicting with the filename in test_iss1723()

Fixes #2442.
  • Loading branch information
sbourlon authored Feb 20, 2024
1 parent 9245c6a commit c1258c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_writer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the pypdf._writer module."""

import re
import shutil
import subprocess
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit c1258c3

Please sign in to comment.