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

ROB: Cope with str returned from get_data in cmap #1380

Merged
merged 2 commits into from
Oct 8, 2022

Conversation

pubpub-zz
Copy link
Collaborator

fixes #1379
have not been able to identify why str is returned instead of bytes as usual prefer to convert locally

fixes py-pdf#1379
have not been able to identify why str is returned instead of bytes as usual
prefer to convert locally
@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Base: 94.12% // Head: 94.12% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (aa2fe25) compared to base (9d870a2).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1380   +/-   ##
=======================================
  Coverage   94.12%   94.12%           
=======================================
  Files          28       28           
  Lines        5072     5074    +2     
  Branches     1052      966   -86     
=======================================
+ Hits         4774     4776    +2     
  Misses        177      177           
  Partials      121      121           
Impacted Files Coverage Δ
PyPDF2/_cmap.py 95.59% <100.00%> (+0.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@pubpub-zz
Copy link
Collaborator Author

ready to merge

@MartinThoma MartinThoma changed the title ROB: cope with str returned from get_data in cmap ROB: Cope with str returned from get_data in cmap Oct 8, 2022
@MartinThoma MartinThoma merged commit 92c894d into py-pdf:main Oct 8, 2022
@MartinThoma
Copy link
Member

Thank you ❤️

I'll make a release to PyPI either today or tomorrow :-)

MartinThoma added a commit that referenced this pull request Oct 10, 2022
Bug Fixes (BUG):
- td matrix (#1373)
- Cope with cmap from #1322 (#1372)

Robustness (ROB):
-  Cope with str returned from get_data in cmap (#1380)

Full Changelog: 2.11.0...2.11.1
@pubpub-zz pubpub-zz deleted the iss1379 branch June 24, 2023 08:39
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.

TypeError: replace() argument 1 must be str, not bytes
2 participants