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

Message ID 20250619075859.10878-8-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-bandit)[arguments]{phases}:
Remove uneeded keyword.
---
 gnu/packages/python-check.scm | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
  

Patch

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d75115f070..88b7e3974b 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -312,15 +312,8 @@  (define-public python-bandit
     (arguments
      (list
       #:test-flags
-      ;; Two tets fail.
-      #~(list "--exclude-regex" "test_no_arguments|test_help_arg")
-      #: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?
-                (apply invoke "stestr" "run" test-flags)))))))
+      ;; XXX: Two tests fail.
+      #~(list "--exclude-regex" "test_no_arguments|test_help_arg")))
     (native-inputs
      (list python-beautifulsoup4
            python-fixtures