Subject: [PATCH v3 19/27] gnu: python2-promise: Don't run tests when cross-compiling.

From: Maxime Devos <[email-masked]>
Date: Thu, 30 Sep 2021 00:47:51 +0200

* gnu/packages/python-xyz.scm (python2-promise)[arguments]: Remove #:tests?
  instead of unconditionally setting it to #t.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c221aaa682..3914c9158a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12501,8 +12501,8 @@ concurrent.futures package from Python 3.2")
   (let ((promise (package-with-python2
                    (strip-python2-variant python-promise))))
     (package/inherit promise
-      (arguments (substitute-keyword-arguments (package-arguments promise)
-                   ((#:tests? _) #t)))
+      (arguments (strip-keyword-arguments '(#:tests?)
+                                          (package-arguments promise)))
       (native-inputs
        `(("python2-futures" ,python2-futures)
          ("python2-pytest" ,python2-pytest)
-- 
2.33.0