Fix warning by radarhere · Pull Request #9016 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@radarhere

Copy link Copy Markdown

Member

https://github.com/python-pillow/Pillow/actions/runs/15630701553/job/44036926021#step:11:5178

Tests/test_file_ppm.py::test_header_token_too_long[P3\x0cAAAAAAAAAA\xee]
Tests/test_file_ppm.py::test_header_token_too_long[P6\n 01234567890]
/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/_pytest/_code/code.py:482: BytesWarning: str() on a bytes instance
message = str(exc)

This warning would have been introduced by #8958

@hugovk hugovk changed the title Fixed warning Fix warning

Jun 14, 2025

@hugovk hugovk merged commit 850271a into python-pillow:main

Jun 16, 2025

75 of 77 checks passed

@radarhere radarhere deleted the ppm branch

June 16, 2025 09:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@radarhere @hugovk