Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: consider images inside PDF made with onlyoffice #2637

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fixed typo
  • Loading branch information
Nathanaël Renaud authored and 0xNath committed May 17, 2024
commit 6edfa2d7c7eecb62dfb4e0144f9472a15fcce564
4 changes: 2 additions & 2 deletions tests/test_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 245,10 @@ def test_image_extraction(src, page_index, image_key, expected):
@pytest.mark.samples()
def test_patterns_image_extraction(src, page_index, image_key, expected):
reader = PdfReader(src)
extreactedIDs = reader.pages[page_index].images
extractedIDs = reader.pages[page_index].images

assert (
str(extreactedIDs)
str(extractedIDs)
== "[Image_0=/Pattern/P1/X1, Image_1=/Pattern/P2/X1, Image_2=/Pattern/P3/X1]"
)

Expand Down