summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-23 23:00:36 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:51 -0500
commit10bee15c8209b762c336d8632df3f890f048e5c3 (patch)
treef06ec2b97e339b66b588d328adc2c0ff0694b00f
parent85b42f04a3f0135e9c186d3b4363abf3cb6103ca (diff)
gnu: python-fenics-ufl: Do not alter PYTHONPATH.
* gnu/packages/simulation.scm (python-fenics-ufl) [phases]{check}: Do not alter PYTHONPATH.
-rw-r--r--gnu/packages/simulation.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 4a216d00db..f78237a3c8 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -310,11 +310,7 @@ the complexity of that interface. Parallel support depends on the
(modify-phases %standard-phases
(replace 'check
(lambda _
- (setenv "PYTHONPATH"
- (string-append (getcwd) ":" (getenv "PYTHONPATH")))
- (with-directory-excursion "test"
- (invoke "py.test"))
- #t)))))
+ (invoke "py.test" "test"))))))
(home-page "https://bitbucket.org/fenics-project/ufl/")
(synopsis "Unified language for form-compilers")
(description "The Unified Form Language (UFL) is a domain specific