Skip to content

Commit

Permalink
Add test for issue jsvine#67 / PR jsvine#69
Browse files Browse the repository at this point in the history
Thanks to @yiqiyu for the example PDF!
  • Loading branch information
jsvine committed Jul 11, 2018
1 parent 4d4ca3f commit 8ea6887
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file added tests/pdfs/issue-67-example.pdf
Binary file not shown.
6 changes: 6 additions & 0 deletions tests/test-issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,9 @@ def test_issue_53(self):
)
assert len(pdf.objects)

def test_issue_67(self):
pdf = pdfplumber.from_path(
os.path.join(HERE, "pdfs/issue-67-example.pdf")
)
assert len(pdf.metadata.keys())

0 comments on commit 8ea6887

Please sign in to comment.