Skip to content

GH-128520: pathlib ABCs tests: use explicit text encoding #133105

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Apr 28, 2025

Follow-up to fbffd70. Set encoding='utf-8' when reading and writing text in the tests for the private pathlib ABCs, which allows the tests to run under -W error -X warn_default_encoding conditions

Follow-up to fbffd70. Set `encoding='utf-8'` when reading and writing text
in the tests for the private pathlib ABCs, which allows the tests to run
with `-W error -X warn_default_encoding`
@barneygale barneygale added tests Tests in the Lib/test dir skip news topic-pathlib labels Apr 28, 2025
@barneygale barneygale merged commit 336322b into python:main Apr 28, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir topic-pathlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant