Skip to content

Commit

Permalink
TST: add test_iss1723() PDF to example_files.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sbourlon committed Feb 7, 2024
1 parent ddab15b commit e3f1680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/example_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,5 @@
url: https://www.joinville.sc.gov.br/wp-content/uploads/2023/11/Pesquisa-de-Precos-Combustiveis-novembro-2023.pdf
- local_filename: iss2138.pdf
url: https://github.com/py-pdf/pypdf/files/12483807/AEO.1172.pdf
- local_filename: iss1723.pdf
url: https://github.com/py-pdf/pypdf/files/11015242/inputFile.pdf
4 changes: 2 additions & 2 deletions 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 @@ -1405,9 +1406,8 @@ def test_late_iss1654():
@pytest.mark.enable_socket()
def test_iss1723():
# test of an annotation(link) directly stored in the /Annots in the page
url = "https://github.com/py-pdf/pypdf/files/11015242/inputFile.pdf"
name = "iss1723.pdf"
reader = PdfReader(BytesIO(get_data_from_url(url, name=name)))
reader = PdfReader(BytesIO(get_data_from_url(name=name)))
writer = PdfWriter()
writer.append(reader, (3, 5))

Expand Down

0 comments on commit e3f1680

Please sign in to comment.