Message ID | 20210826151553.10127-17-jgart@dismail.de |
---|---|
State | New |
Headers | show |
Series | [bug#50213,01/19] gnu: python-pytest-6: Update to 6.2.4. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6784b5038f..561c788dde 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2987,10 +2987,10 @@ minimum of WSGI.") '(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (setenv "PYTHONPATH" (string-append "./build/lib:" - (getenv "PYTHONPATH"))) - (invoke "pytest" "-vv" "tests")))))) + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv"))))))) (native-inputs `(("python-pytest" ,python-pytest))) (propagated-inputs