aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-17 08:53:43 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-19 20:12:16 -0400
commit3c232c1361b5d5f8704c7418953085ff87c705cc (patch)
tree2d72a006f6fffc5923f0192026b3cdb7e586e9f0 /gnu/packages
parent96be62d2ed521942fa7f19ac42b9129eb5a6e918 (diff)
downloadguix-3c232c1361b5d5f8704c7418953085ff87c705cc.tar
guix-3c232c1361b5d5f8704c7418953085ff87c705cc.tar.gz
gnu: Add python-asynctest.
* gnu/packages/python-xyz.scm (python-asynctest): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 54c5f60682..ab49cea4fb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18867,6 +18867,35 @@ callback-heavy mode of interaction typical in some Kivy applications.")
without requiring an event loop, useful for creative responsive GUIs.")
(license license:expat)))
+(define-public python-asynctest
+ (package
+ (name "python-asynctest")
+ (version "0.13.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "asynctest" version))
+ (sha256
+ (base32
+ "1b3zsy7p84gag6q8ai2ylyrhx213qdk2h2zb6im3xn0m5n264y62"))))
+ (build-system python-build-system)
+ (arguments
+ ;; The test suite appears to be incompatible with Python 3.9+, completes
+ ;; with 25 failures and 41 errors out of 220 tests (see:
+ ;; https://github.com/Martiusweb/asynctest/issues/149).
+ (list #:tests? #f
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "unittest" "test")))))))
+ (home-page "https://github.com/Martiusweb/asynctest/")
+ (synopsis "Unittest extensions for testing asyncio libraries")
+ (description
+ "The @code{asynctest} Python package is built on top of the standard
+@code{unittest} module and cuts down boilerplate code when testing libraries
+for @code{asyncio}.")
+ (license license:asl2.0)))
+
(define-public python-binaryornot
(package
(name "python-binaryornot")