[bug#78828,7/8] gnu: python-stestr: Rely on its own test-backend.

Message ID 20250619075859.10878-7-ngraves@ngraves.fr
State New
Headers
Series None |

Commit Message

Nicolas Graves June 19, 2025, 7:58 a.m. UTC
* gnu/packages/python-check.scm (python-stestr)[arguments]{phases}:
Remove keyword.
---
 gnu/packages/python-check.scm | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
  

Patch

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 587fbac11e..d75115f070 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3599,19 +3599,11 @@  (define-public python-stestr
     (arguments
      (list
       #:test-flags
-      ;; Two tets fail.
+      ;; XXX: Two tests fail.
       #~(list "--exclude-regex" (string-join
                                  (list "test_initialise_expands_user_directory"
                                        "test_open_expands_user_directory")
-                                 "|"))
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; TODO: Implement in pypproject-build-system's  test-backends.
-          (replace 'check
-            (lambda* (#:key tests? test-flags #:allow-other-keys)
-              (when tests?
-                (let ((stestr (string-append #$output "/bin/stestr")))
-                  (apply invoke stestr "run" test-flags))))))))
+                                 "|"))))
     (native-inputs
      (list python-ddt
            python-iso8601