mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-multidict: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-multidict): [arguments] <#:phases>: Drop phase 'fix-pytest-config. <#:test-flags>: Adapt accordingly. Change-Id: Iff6ce80523e20dcec92eba70f7ede010d7199054 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
73a4ba53ac
commit
9564e7be42
@@ -12919,14 +12919,8 @@ e.g. copy examples, fetch data, etc.")
|
||||
(list
|
||||
;; tests: 1395 passed
|
||||
#:test-flags
|
||||
#~(list "--ignore-glob=tests/test_*_benchmarks.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-pytest-config
|
||||
(lambda _
|
||||
(substitute* "pytest.ini"
|
||||
(("-p pytest_cov") "")
|
||||
(("--cov.*") "")))))))
|
||||
#~(list "-o" "addopts=''" ; Avoid -p pytest_cov.
|
||||
"--ignore-glob=tests/test_*_benchmarks.py")))
|
||||
(native-inputs
|
||||
(list python-objgraph
|
||||
python-psutil
|
||||
|
||||
Reference in New Issue
Block a user