GothenburgBitFactory / GothenburgBitFactory/bugwarrior

Fix all warnings when running tests

Open
#1,158 1 comment 0 reactions 0 assignees View on GitHub
maintenance
Dominant language
Python
Stars
820
Forks
225
PR merge metrics
No merged PRs in 30d

Description

When we run the test suite, we have a lot of noisy warnings. Most of them are DeprecationWarning of third party packages, so we could safely ignore them, others are valid warning that could be fixed. To avoid having such warnings (and do nothing about them), we could also ensure tests are failing when there are some warnings (pytest has an option for that).

[Pytest doc about warnings](https://docs.pytest.org/en/stable/how-to/capture-warnings.html#deprecationwarning-and-pendingdeprecationwarning)

On a related subject (but that's open to discussion), I think tests could benefit from migrating completely to pytest.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.