Skip to content

pytest-warnings fails tests since 2.8 #1045

Closed
@jonapich

Description

@jonapich

Something changed in 2.8 that makes all my test runs fail with "2 pytest-warnings". I had to use a simplefilter to even be able to view what the warnings were about.

One of the failure is a simple deprecationwarning that I can live with for the time being. It's not clear how we're supposed to disable this functionality - tried all possible warnings.simplefilter values and the only useful one seems to be "error" (that's how I could see what the warning was all about).

Another warning is now seen as a pytest-warnings that fails my test. It's an ImportWarning because of a duplicate folder name (one with init, one without). Python correctly resolves the init one.

I'll be pinning 2.7.3 until this is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions