gnu: python-flask: Do not set PYTHONPATH.

* gnu/packages/python-web.scm (python-flask)
[phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 14:20:48 -05:00
parent fe89470780
commit 24ea5a70d0
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2841,8 +2841,6 @@ (define-public python-flask
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
(setenv "PYTHONPATH" (string-append "./build/lib:"
(getenv "PYTHONPATH")))
(invoke "pytest" "-vv" "tests")))))) (invoke "pytest" "-vv" "tests"))))))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest))) `(("python-pytest" ,python-pytest)))