mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +01:00
gnu: python-munkres: Conditionally disable failing test.
* gnu/packages/python-xyz.scm (python-munkres)[arguments]: Add phase "disable-test" to patch test suite.
This commit is contained in:
parent
093bf20cdc
commit
3ab9adba57
1 changed files with 14 additions and 0 deletions
|
@ -16045,6 +16045,20 @@ way.")
|
|||
(sha256
|
||||
(base32
|
||||
"00yvj8bxmhhhhd74v7j0x673is7vizmxwgb3dd5xmnkr74ybyi7w"))))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-test
|
||||
(lambda _
|
||||
;; See https://github.com/bmc/munkres/issues/40
|
||||
(substitute* "test/test_munkres.py"
|
||||
(("^def test_profit_float" m)
|
||||
(string-append "\
|
||||
import platform
|
||||
@pytest.mark.skipif(platform.architecture()[0] == \"32bit\",
|
||||
reason=\"Fails on 32 bit architectures\")
|
||||
" m))))))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs (list python-pytest-6))
|
||||
(home-page "https://software.clapper.org/munkres/")
|
||||
|
|
Loading…
Add table
Reference in a new issue