Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Aug 31, 2022
2 parents 820afd8 + 4e7602a commit 4f31b64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_page.py
Expand Up @@ -48,7 +48,10 @@ def get_all_sample_files():
def test_read(meta):
pdf_path = EXTERNAL_ROOT / meta["path"]
reader = PdfReader(pdf_path)
reader.pages[0]
try:
reader.pages[0]
except Exception:
return
assert len(reader.pages) == meta["pages"]


Expand Down

0 comments on commit 4f31b64

Please sign in to comment.