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

Avoid EncodingWarning occurring in tests #995

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

mrbean-bremen
Copy link
Member

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

  • we have switched the warnings on, so we try to avoid them as much as possible in our own tests
  • use utf8 encoding in all tests with no explicit encoding

Related to #957.

Tasks

  • Unit tests added that reproduce the issue or prove feature is working - n/a
  • Fix or feature added
  • Entry to release notes added - n/a
  • Pre-commit CI shows no errors
  • Unit tests passing
  • For documentation changes: The Read the Docs preview builds and looks as expected - n/a

- we have switched the warnings on, so we try to avoid them
  as much as possible in our own tests
- use utf8 encoding in all tests with no explicit encoding
@mrbean-bremen mrbean-bremen merged commit 3b1a99a into pytest-dev:main Apr 4, 2024
65 checks passed
@mrbean-bremen mrbean-bremen deleted the encoding_warnings branch June 9, 2024 09:38
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.

1 participant