mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-traittypes: Fix tests.
* gnu/packages/python-science.scm (python-traittypes)[arguments]: Add phase 'numpy-compatibility. Change-Id: I41d55d65d0dafd44029de38b3044d9fad378db50
This commit is contained in:
parent
ac6167bc56
commit
1fd5f28306
1 changed files with 7 additions and 1 deletions
|
@ -3143,7 +3143,13 @@ to do spectral analysis in Python.")
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; This one test fails because it doesn't raise an expected exception.
|
;; This one test fails because it doesn't raise an expected exception.
|
||||||
#:test-flags #~(list "-k" "not test_bad_values")))
|
#:test-flags '(list "-k" "not test_bad_values")
|
||||||
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'numpy-compatibility
|
||||||
|
(lambda _
|
||||||
|
(substitute* "traittypes/tests/test_traittypes.py"
|
||||||
|
(("np\\.int") "int")))))))
|
||||||
(propagated-inputs (list python-traitlets))
|
(propagated-inputs (list python-traitlets))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-numpy
|
(list python-numpy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue