Skip to content

Raise errors when warnings happen in the test suite #4979

@connorjward

Description

@connorjward

At the time of writing the number of warnings raised by our test suite is actually fairly reasonable (example):

1	=== 6827 passed, 348 skipped, 53 xfailed, 684 warnings in 1507.56s (0:25:07) ===

It would be amazing if we could get this down to zero and then run our test suite with pytest -W error (link) such that we never have warnings ever again.

It would also be good to do this for warnings emitted when installing Firedrake, though that is harder to catch.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions