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

Fail tests on warnings (specifically timezone ones) #56

Closed
simonw opened this issue Apr 4, 2022 · 1 comment
Closed

Fail tests on warnings (specifically timezone ones) #56

simonw opened this issue Apr 4, 2022 · 1 comment
Labels

Comments

@simonw
Copy link
Collaborator

simonw commented Apr 4, 2022

I don't ever want to let one of those timezone warnings "received a naive datetime (...) while time zone support is active" to sneak into the code.

So I'm going to configure pytest to fail on all warnings.

I smoothed the path for this with this fix:

@simonw simonw added the ci label Apr 4, 2022
@simonw simonw closed this as completed in afb44e6 Apr 4, 2022
simonw added a commit to simonw/til that referenced this issue Apr 4, 2022
@simonw
Copy link
Collaborator Author

simonw commented Apr 4, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant