mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: python-notebook: Fix tests.
They failed because JUPYTER_PATH was set in commit
1683e9d967
.
* gnu/packages/python-xyz.scm (python-notebook) [#:phases]: Unset
JUPYTER_PATH in 'check.
This commit is contained in:
parent
d57341234d
commit
2209e5c753
1 changed files with 3 additions and 0 deletions
|
@ -10807,6 +10807,9 @@ convert an @code{.ipynb} notebook file into various static formats including:
|
|||
(delete-file-recursively "notebook/tests/selenium")
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
;; Some tests do not expect all files to be installed in the
|
||||
;; same directory, but JUPYTER_PATH contains multiple entries.
|
||||
(unsetenv "JUPYTER_PATH")
|
||||
;; Some tests need HOME
|
||||
(setenv "HOME" "/tmp")
|
||||
(with-directory-excursion "/tmp"
|
||||
|
|
Loading…
Reference in a new issue