3
5
Fork 0
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:
Lars-Dominik Braun 2021-04-20 11:15:30 +02:00
parent d57341234d
commit 2209e5c753
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -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"