gnu: python-tblib: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-tblib)
[phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 09:41:04 -05:00
parent 048c98b5af
commit d42a0f10e7
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -12311,12 +12311,6 @@ (define-public python-tblib
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
;; Upstream runs tests after installation and the package itself
;; resides in a subdirectory. Extend PYTHONPATH so it will be
;; found.
(setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
(invoke "py.test" "-vv" "tests" "README.rst")))))) (invoke "py.test" "-vv" "tests" "README.rst"))))))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest) `(("python-pytest" ,python-pytest)