mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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:
@@ -1999,6 +1999,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
|
||||
@@ -2009,6 +2012,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/")
|
||||
|
||||
Reference in New Issue
Block a user