Skip to content

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

Merged
barneygale merged 1 commit into
python:mainfrom
barneygale:pathlib-abc-test-warnings
Apr 28, 2025
Merged

GH-128520: pathlib ABCs tests: use explicit text encoding#133105
barneygale merged 1 commit into
python:mainfrom
barneygale:pathlib-abc-test-warnings

Conversation

@barneygale

@barneygale barneygale commented Apr 28, 2025

Copy link
Copy Markdown
Contributor

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`
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