gnu: Add python-pytest-timeout.

* gnu/packages/check.scm (python-pytest-timeout): New variable.
master
Ricardo Wurmus 2019-06-19 14:26:19 +02:00 committed by Ricardo Wurmus
parent 4abc50666e
commit 90afa80dd9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 21 additions and 0 deletions

View File

@ -925,6 +925,27 @@ result back.")
(define-public python2-pytest-xdist
(package-with-python2 python-pytest-xdist))
(define-public python-pytest-timeout
(package
(name "python-pytest-timeout")
(version "1.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-timeout" version))
(sha256
(base32
"1cczcjhw4xx5sjkhxlhc5c1bkr7x6fcyx12wrnvwfckshdvblc2a"))))
(build-system python-build-system)
(propagated-inputs
`(("python-pytest" ,python-pytest)))
(home-page "http://bitbucket.org/pytest-dev/pytest-timeout/")
(synopsis "Plugin for py.test to abort hanging tests")
(description
"This package provides a py.test plugin that aborts hanging tests after a
timeout has been exceeded.")
(license license:expat)))
(define-public python-scripttest
(package
(name "python-scripttest")