gnu: python-attrs: Disable test deadline on all architectures.

* gnu/packages/python-xyz.scm (python-attrs)[arguments]: Remove conditional.
This commit is contained in:
Marius Bakke 2022-07-16 17:10:13 +02:00
parent 13040cd309
commit 1f22184b22
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -19000,15 +19000,12 @@ (define-public python-attrs
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
,@(if (target-riscv64?)
;; TODO: Remove the conditional on staging.
`((add-after 'unpack 'remove-test-hypothesis-deadlines
(lambda _
(substitute* "tests/test_make.py"
(("assume, given") "assume, given, settings")
(("( +)@given" all spaces)
(string-append spaces "@settings(deadline=None)\n" all))))))
'())
(add-after 'unpack 'remove-test-hypothesis-deadlines
(lambda _
(substitute* "tests/test_make.py"
(("assume, given") "assume, given, settings")
(("( +)@given" all spaces)
(string-append spaces "@settings(deadline=None)\n" all)))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?