mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-17 08:27:47 -05:00
gnu: python-attrs: Disable test deadline on all architectures.
* gnu/packages/python-xyz.scm (python-attrs)[arguments]: Remove conditional.
This commit is contained in:
parent
13040cd309
commit
1f22184b22
1 changed files with 6 additions and 9 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue