guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: python-blessed: Run test suite.


From: guix-commits
Subject: 04/06: gnu: python-blessed: Run test suite.
Date: Sun, 7 May 2023 05:43:10 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 6f19d7001bd6a10aed5e9371c30e383f8badf6e5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 7 12:13:01 2023 +0300

    gnu: python-blessed: Run test suite.
    
    * gnu/packages/python-xyz.scm (python-blessed)[arguments]: Run the test
    suite.
---
 gnu/packages/python-xyz.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f50fafb510..a5c99a6f20 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27821,6 +27821,16 @@ placement and scaling of SVG figures and adding 
markers, such as labels.")
             ;; Don't get hung up on Windows test failures.
             (delete-file "blessed/win_terminal.py")))))
     (build-system python-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (replace 'check
+             (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+               (when tests?
+                 (add-installed-pythonpath inputs outputs)
+                 (delete-file "tox.ini")
+                 (invoke "python" "-m" "pytest" "tests")))))))
     (propagated-inputs
      (list python-jinxed python-six python-wcwidth))
     (native-inputs



reply via email to

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