gnu: python-cfn-lint: Do not set PYTHONPATH.

* gnu/packages/python-web.scm (python-cfn-lint)
[phases]{check}: Do not set PATH nor PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 14:18:11 -05:00
parent 011cd722ba
commit 65add29c0a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -407,11 +407,6 @@ (define-public python-cfn-lint
;; to avoid a dependency on 'git'.
(delete-file
"test/unit/module/maintenance/test_update_documentation.py")
(setenv "PYTHONPATH"
(string-append "./build/lib:"
(getenv "PYTHONPATH")))
(setenv "PATH" (string-append out "/bin:"
(getenv "PATH")))
(invoke "python" "-m" "unittest" "discover"
"-s" "test")))))))
(native-inputs