1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-08 02:38:11 +09:00

docs/language-frameworks/python: don't test coverage etc

This commit is contained in:
Robert Schütz 2025-06-06 09:33:29 -07:00
parent 760e2e6ca6
commit 7b39a05e07

View file

@ -1259,6 +1259,13 @@ as many tests should be enabled as possible. Failing tests can still be
a good indication that the package is not in a valid state.
:::
::: {.note}
We only want to test the functionality of a package. In particular, we are not
interested in coverage, formatting, and type checking. If pytest fails with
`unrecognized arguments: --cov`, add `pytest-cov-stub` to `nativeCheckInputs`
rather than `pytest-cov`.
:::
#### Using pytest {#using-pytest}
Pytest is the most common test runner for python repositories. A trivial