mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: python-jinja2: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-jinja2) [phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
parent
4f23ab3f53
commit
4237342646
1 changed files with 2 additions and 7 deletions
|
@ -3211,13 +3211,8 @@ for Python.")
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(if tests?
|
(if tests?
|
||||||
(begin
|
(invoke "pytest" "-vv")
|
||||||
(setenv "PYTHONPATH"
|
(format #t "test suite not run~%")))))))
|
||||||
(string-append "./build/lib:"
|
|
||||||
(getenv "PYTHONPATH")))
|
|
||||||
(invoke "pytest" "-vv"))
|
|
||||||
(format #t "test suite not run~%"))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Reference in a new issue