gnu: python-validictory: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-validictory)
[phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 10:01:23 -05:00
parent 3533016ae3
commit 2c890df26a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -14210,10 +14210,6 @@ (define-public python-validictory
(delete-file "tests/__init__.py")))
(replace 'check
(lambda _
;; Extend PYTHONPATH so the built package will be found.
(setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
(invoke "py.test" "-vv" ))))))
(native-inputs
`(("python-pytest" ,python-pytest)))