diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index d9da6f690d..560c685d02 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1116,10 +1116,10 @@ (define-public python-pairtools (("/bin/bash") (which "bash"))) #t)) (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (with-directory-excursion "/tmp" - (invoke "pytest" "-v"))))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "/tmp" + (invoke "pytest" "-v")))))))) (native-inputs (list python-cython python-nose python-pytest)) (inputs