Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Oct 23, 2022

test_file_ppm.py sometimes writes in binary format

with open(path, "wb") as f:
f.write(b"P3\n128 128\n255\n256")

and sometimes does not.
with open(path, "w", encoding="utf-8") as f:
f.write("P6")

This PR consistently writes in binary format in test_file_ppm.py.

@radarhere radarhere mentioned this pull request Oct 23, 2022
@radarhere radarhere changed the title Write in binary format Consistently write in binary format in PPM tests Oct 23, 2022
@hugovk hugovk added the automerge Automatically merge PRs that are ready label Oct 23, 2022
@mergify mergify bot merged commit eca2f5c into python-pillow:main Oct 23, 2022
@radarhere radarhere deleted the binary branch October 23, 2022 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge PRs that are ready Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants