Skip to content

Commit

Permalink
Added type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jul 6, 2024
1 parent ae25d23 commit 6883018
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/test_file_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def test_pdf_append_fails_on_nonexistent_file() -> None:


def check_pdf_pages_consistency(pdf: PdfParser.PdfParser) -> None:
assert pdf.pages_ref is not None
pages_info = pdf.read_indirect(pdf.pages_ref)
assert b"Parent" not in pages_info
assert b"Kids" in pages_info
Expand Down

0 comments on commit 6883018

Please sign in to comment.