apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.

commit 38c42c2ca8825bf465f4d9e8308f2d0b7c0180b1
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Wed Apr 20 01:14:57 2022 -0400

    gnu: python-keyring: Fix test suite.
    
    [phases]{check}: Provide the tests directory argument to pytest.  Ignore
    project pytest configs and make it verbose.
    [native-inputs]: Delete python-pytest-checkdocs, python-pytest-cov and
    python-pytest-flake8.
---
 gnu/packages/python-crypto.scm | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 2e16392c9d..9b08898b6f 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -24,7 +24,7 @@
 ;;; Copyright © 2020 Alexandros Theodotou <[email protected]>
 ;;; Copyright © 2020 Justus Winter <[email protected]>
 ;;; Copyright © 2020, 2021 Vinicius Monego <[email protected]>
-;;; Copyright © 2021 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2021, 2022 Maxim Cournoyer <[email protected]>
 ;;; Copyright © 2021 Maxime Devos <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -351,14 +351,10 @@ do what is needed for client/server Kerberos 
authentication based on
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (invoke "pytest"))
-             #t)))))
+               (invoke "pytest" "-vv" "-c" "/dev/null" "tests")))))))
     (native-inputs
      (list python-toml
            python-pytest
-           python-pytest-checkdocs
-           python-pytest-cov
-           python-pytest-flake8
            python-setuptools
            python-setuptools-scm))
     (propagated-inputs

Reply via email to