From 6874994fa9b2b811acef5e875002b026724ae220 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Dec 2021 12:35:00 +0100 Subject: [PATCH] gnu: Add python-pytest-rerunfailures. * gnu/packages/python-check.scm (python-pytest-rerunfailures): New variable. --- gnu/packages/python-check.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index cb598b0344..d261ccac68 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1859,6 +1859,24 @@ (define-public python-aioresponses HTTP requests.") (license license:expat))) +(define-public python-pytest-rerunfailures + (package + (name "python-pytest-rerunfailures") + (version "10.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-rerunfailures" version)) + (sha256 + (base32 "15v68kggjvkflbqr0vz8gp5yp3pcsk0rz05bpg2l4xp0a6nin7ly")))) + (build-system python-build-system) + (propagated-inputs (list python-pytest python-setuptools)) + (home-page "https://github.com/pytest-dev/pytest-rerunfailures") + (synopsis "Pytest plugin to re-run flaky tests") + (description "This package provides a pytest plugin to re-run tests to +eliminate flaky failures.") + (license license:mpl2.0))) + (define-public python-xunitparser (package (name "python-xunitparser")