gnu: python-statsmodels: Fix build
* gnu/packages/statistics.scm (python-statsmodels): [check] set PYTHONPATH prior to running tests.
This commit is contained in:
parent
d5e41cf28c
commit
25b2c47d75
1 changed files with 7 additions and 5 deletions
|
@ -1444,7 +1444,9 @@ building design matrices.")
|
||||||
line)))
|
line)))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda _
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
;; Make installed package available for running the tests
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
(with-directory-excursion "/tmp"
|
(with-directory-excursion "/tmp"
|
||||||
(zero? (system* "nosetests"
|
(zero? (system* "nosetests"
|
||||||
"--stop"
|
"--stop"
|
||||||
|
|
Reference in a new issue