gnu: python-fenics-fiat: Do not alter PYTHONPATH.

* gnu/packages/simulation.scm (python-fenics-fiat)
[phases]{check}: Do not alter PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-23 23:01:50 -05:00
parent 10bee15c82
commit 0c9844e1d6
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -344,8 +344,6 @@ (define-public python-fenics-fiat
(modify-phases %standard-phases
(replace 'check
(lambda _
(setenv "PYTHONPATH"
(string-append (getcwd) ":" (getenv "PYTHONPATH")))
(with-directory-excursion "test"
;; FIXME: three FIAT test modules are known to fail
;; with recent versions of pytest (>= 4). These are
@ -355,8 +353,7 @@ (define-public python-fenics-fiat
(invoke "py.test" "unit/"
"--ignore=unit/test_fiat.py"
"--ignore=unit/test_quadrature.py"
"--ignore=unit/test_reference_element.py"))
#t)))))
"--ignore=unit/test_reference_element.py")))))))
(home-page "https://bitbucket.org/fenics-project/fiat/")
(synopsis "Tabulation of finite element function spaces")
(description