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:
Maxim Cournoyer 2021-01-24 00:40:19 -05:00
parent 4f23ab3f53
commit 4237342646
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3211,13 +3211,8 @@ (define-public python-jinja2
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(begin
(setenv "PYTHONPATH"
(string-append "./build/lib:"
(getenv "PYTHONPATH")))
(invoke "pytest" "-vv"))
(format #t "test suite not run~%"))
#t)))))
(invoke "pytest" "-vv")
(format #t "test suite not run~%")))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(propagated-inputs