gnu: python-ndindex: Fix tests.

* gnu/packages/python-science.scm (python-ndindex):
[arguments] <test-flags>: Run tests in parallel, proper ignore and
deselect coverage markers warnings.
[native-inputs]: Add python-pytest-xdist.

Change-Id: Icf34370cfd0fa37cf34bf1f7efc08b8efb95f700
This commit is contained in:
Sharlatan Hellseher
2026-04-06 11:30:56 +01:00
committed by Andreas Enge
parent 048f5942b7
commit d599895498

View File

@@ -2009,6 +2009,9 @@ between dataframe libraries.
;; tests: 121 passed, 1 deselected, 3 warnings
#:test-flags
#~(list "--pyargs" "ndindex"
"--numprocesses" (number->string (min 8 (parallel-job-count)))
"-p" "no:cov"
"-W" "ignore:Unknown pytest.mark.no_cover:pytest.PytestUnknownMarkWarning"
"-k" "not test_iter_indices_matmul") ; flaky
#:phases
#~(modify-phases %standard-phases
@@ -2019,6 +2022,7 @@ between dataframe libraries.
(list python-cython
python-numpy
python-pytest
python-pytest-xdist
python-setuptools
python-sympy))
(home-page "https://quansight-labs.github.io/ndindex/")