[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52659] [WIP v2 1/4] gnu: Add python-pytest-faulthandler.
From: |
Leo Famulari |
Subject: |
[bug#52659] [WIP v2 1/4] gnu: Add python-pytest-faulthandler. |
Date: |
Sun, 19 Dec 2021 13:56:23 -0500 |
* gnu/packages/check.scm (python-pytest-faulthandler): New variable.
---
gnu/packages/check.scm | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0a90a3b167..e3bb53dae0 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2018, 2019, 2020, 2021 Efraim Flashner
<efraim@flashner.co.il>
-;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2016, 2017, 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
@@ -1481,6 +1481,26 @@ (define-public python-pytest-forked
side-effects (such as setting environment variables).")
(license license:expat)))
+;; This package is included in Pytest >=5.0.
+(define-public python-pytest-faulthandler
+ (package
+ (name "python-pytest-faulthandler")
+ (version "2.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-faulthandler" version))
+ (sha256
+ (base32
+ "1r8ssxfdib2d2mblmnm34q84lza5d8cq5n5p3sl4sd5chz7bnwpd"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-pytest python-setuptools-scm))
+ (home-page "https://github.com/pytest-dev/pytest-faulthandler")
+ (synopsis "Pytest plugin that activates the faulthandler module for tests")
+ (description "This package provides a pytest plugin that automatically
+enables the @code{faulthandler} module during tests.")
+ (license license:expat)))
+
(define-public python-scripttest
(package
(name "python-scripttest")
--
2.34.0