gnu: python-webassets: Do not set PYTHONPATH.

* gnu/packages/python-web.scm (python-webassets)
[phases]: Delete trailing #t.
{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 14:22:46 -05:00
parent c30a3ca749
commit 7b1832dffd
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3645,13 +3645,9 @@ (define-public python-webassets
(lambda _
;; This test requires 'postcss' and 'babel' which are
;; not yet available in Guix.
(delete-file "tests/test_filters.py")
#t))
(delete-file "tests/test_filters.py")))
(replace 'check
(lambda _
(setenv "PYTHONPATH"
(string-append "./build/lib:"
(getenv "PYTHONPATH")))
(invoke "pytest" "-vv"))))))
(native-inputs
`(("python-jinja2" ,python-jinja2)