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

Use locale.getencoding instead of getpreferredencoding #958

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented Mar 3, 2024

Tasks

  • Unit tests added that reproduce the issue or prove feature is working - no unit tests, enabled the warning instead
  • Fix or feature added
  • Entry to release notes added
  • Pre-commit CI shows no errors
  • Unit tests passing

- from Python 3.11 on, this is the preferred version
- fixes pytest-dev#957
@mrbean-bremen mrbean-bremen merged commit dd5d1af into pytest-dev:main Mar 3, 2024
65 checks passed
@mrbean-bremen mrbean-bremen deleted the encoding-warning branch March 7, 2024 18:34
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.

EncodingWarnings raised (3) when using pyfakefs
1 participant