guix-commits
[Top][All Lists]
Advanced

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

150/150: gnu: python-markdown: Switch testing to unittest.


From: guix-commits
Subject: 150/150: gnu: python-markdown: Switch testing to unittest.
Date: Sun, 24 Apr 2022 05:12:51 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit d289fe92f7412cbb6caaaa7f9fe808941428b100
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Apr 21 17:25:44 2022 +0200

    gnu: python-markdown: Switch testing to unittest.
    
    * gnu/packages/python-xyz.scm (python-markdown)[arguments]: Override
    'check.
---
 gnu/packages/python-xyz.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index efbf0b4286..63eb6884f8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10889,8 +10889,13 @@ Python.")
         (base32
          "0jbs73nincha8fkfxx267sfxac6pl0ckszjbqbb8gk4dhs8v9d9i"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _ (invoke "python" "-m" "unittest" "discover"))))))
     (native-inputs
-     (list python-nose python-pyyaml))
+     (list python-pyyaml))
     (home-page "https://python-markdown.github.io/";)
     (synopsis "Python implementation of Markdown")
     (description



reply via email to

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