summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5fd6cefbbe..68b1c42a40 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -36562,7 +36562,10 @@ into a human readable HTML table representation.")
(when tests?
;; Make installed package available for running the tests.
(add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v")))))))
+ ;; We must provide the full path to the Python binary
+ ;; otherwise "test_search_prs_basic" test fails.
+ (invoke (search-input-file inputs "/bin/python")
+ "-m" "pytest" "-v")))))))
(native-inputs
(list python-pytest))
(propagated-inputs