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 (#414551)
This commit is contained in:
commit
703f47030f
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
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}
|
#### Using pytest {#using-pytest}
|
||||||
|
|
||||||
Pytest is the most common test runner for python repositories. A trivial
|
Pytest is the most common test runner for python repositories. A trivial
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue