From 10bee15c8209b762c336d8632df3f890f048e5c3 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 23 Jan 2021 23:00:36 -0500 Subject: gnu: python-fenics-ufl: Do not alter PYTHONPATH. * gnu/packages/simulation.scm (python-fenics-ufl) [phases]{check}: Do not alter PYTHONPATH. --- gnu/packages/simulation.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3