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:
parent
048c98b5af
commit
d42a0f10e7
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue