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

Python/pytest hide exceptions that are thrown while logging #43

Open
Trolldemorted opened this issue Jun 8, 2024 · 0 comments
Open

Comments

@Trolldemorted
Copy link
Member

If we

  • invoke pytest with -W error, python will raise exceptions for warnings as it should
  • if those warnings occur during logging, we neither get a warning, nor a failing test, because something decides that exceptions during logging just cause "no logs for you", and not a failure

We should find out what exactly is happening, and consider raising an upstream issue.

cc @ldruschk

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

No branches or pull requests

1 participant