Merge pull request #8210 from radarhere/type_hint

Added type hint
This commit is contained in:
mergify[bot] 2024-07-06 13:08:17 +00:00 committed by GitHub
commit 94a8fccfa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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