summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-11 16:55:16 +0200
committerMarius Bakke <marius@gnu.org>2022-09-11 19:43:16 +0200
commit9a6c3b7b6a4163e72be25e8863d558137396ae58 (patch)
tree0d4646685a7b86e7f379ee452091846d6533fade
parent29f5fb9202f443e2b891ddd5831df57acd45a15f (diff)
gnu: python-gast: Enable tests.
* gnu/packages/python-xyz.scm (python-gast)[arguments]: Override check phase. [native-inputs]: Add PYTHON-PYTEST.
-rw-r--r--gnu/packages/python-xyz.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 664d340892..9d7ebf32ef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23553,6 +23553,14 @@ distribution.")
(sha256
(base32 "1sidaczriw54pfkj3523y9j9q2harrczc1qqgnfaylz641ca5gng"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs
+ (list python-pytest))
(propagated-inputs
(list python-astunparse))
(home-page "https://github.com/serge-sans-paille/gast/")