Skip to content

Add an easy way to run pytest -Werror::DeprecationWarning -Werror::FutureWarning #13396

@amueller

Description

@amueller

CI is erroring on uncaught deprecation and future warnings but that's hard to reproduce locally unless you really know what you're doing.

I feel like we should make this easier, or maybe even the default when running tests locally?

One way would be to do this in the makefile, which would only help if using make, but that already would be better, I think.

We could also add it to the configuration, not sure if that's overkill?

It's a bit annoying to have tests pass locally but then not on CI because it uses different flags [yes yes, I added these flags, I know].

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions