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

BUG: Fix UnboundLocalError on malformed pdf #2619

Merged

Conversation

farjasju
Copy link
Contributor

@farjasju farjasju commented May 2, 2024

Closes #2617

Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.96%. Comparing base (b1b55e6) to head (fd8edc0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2619      +/-   ##
==========================================
+ Coverage   94.93%   94.96%   +0.02%     
==========================================
  Files          50       50              
  Lines        8318     8319       +1     
  Branches     1668     1668              
==========================================
+ Hits         7897     7900       +3     
+ Misses        261      260       -1     
+ Partials      160      159       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tests/test_reader.py Outdated Show resolved Hide resolved
@farjasju farjasju force-pushed the unboundlocalerror-with-malformed-file branch from 363774c to fd8edc0 Compare May 2, 2024 14:02
@stefan6419846 stefan6419846 merged commit e92b20e into py-pdf:main May 2, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: UnboundLocalError when iterating on pages of malformed pdf (with strict=True)
2 participants