diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 0e0eef6459..df4b8ac6f5 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012 Nikita Karetnikov -;;; Copyright © 2013, 2017, 2020 Ludovic Courtès +;;; Copyright © 2013, 2017, 2020, 2021 Ludovic Courtès ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2021 Efraim Flashner ;;; Copyright © 2015, 2017 Leo Famulari @@ -423,11 +423,12 @@ (define-public python-arrow `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "pytest" "-vv" "tests" - ;; python-dateutil doesn't recognize America/Nuuk. - ;; Remove when python-dateutil > 2.8.1. - "-k" "not test_parse_tz_name_zzz")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "tests" + ;; python-dateutil doesn't recognize America/Nuuk. + ;; Remove when python-dateutil > 2.8.1. + "-k" "not test_parse_tz_name_zzz"))))))) (native-inputs `(;; For testing ("python-chai" ,python-chai)