mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"00yvj8bxmhhhhd74v7j0x673is7vizmxwgb3dd5xmnkr74ybyi7w"))))
|
"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)
|
(build-system python-build-system)
|
||||||
(native-inputs (list python-pytest-6))
|
(native-inputs (list python-pytest-6))
|
||||||
(home-page "https://software.clapper.org/munkres/")
|
(home-page "https://software.clapper.org/munkres/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue