diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fcca8697a8..62de043e70 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4594,8 +4594,9 @@ (define-public python-slugify `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "python" "test.py")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "test.py"))))))) (build-system python-build-system) (home-page "https://github.com/un33k/python-slugify") (synopsis "Python Slugify application that handles Unicode")