guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 06/08: gnu: python-attrs: Disable test deadline on all architectures.
Date: Sat, 16 Jul 2022 14:27:22 -0400 (EDT)

mbakke pushed a commit to branch staging
in repository guix.

commit 1f22184b2236996b5ef20fbcfa7805f94250a147
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jul 16 17:10:13 2022 +0200

    gnu: python-attrs: Disable test deadline on all architectures.
    
    * gnu/packages/python-xyz.scm (python-attrs)[arguments]: Remove conditional.
---
 gnu/packages/python-xyz.scm | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0885d976bd..62ca287449 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19000,15 +19000,12 @@ from the header, as well as section details and data 
available.")
     (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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]