Skip to content

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

@Trolldemorted

Description

@Trolldemorted

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions