gnu: Remove python2-pytest-mock.
* gnu/packages/check.scm (python2-pytest-mock): Delete variable. (python-pytest-mock)[properties]: Delete field.
parent
60965e70ed
commit
6c80abe097
|
@ -1401,29 +1401,8 @@ around the patching API provided by the @code{mock} package, but with the
|
||||||
benefit of not having to worry about undoing patches at the end of a test.
|
benefit of not having to worry about undoing patches at the end of a test.
|
||||||
The mocker fixture has the same API as @code{mock.patch}, supporting the
|
The mocker fixture has the same API as @code{mock.patch}, supporting the
|
||||||
same arguments.")
|
same arguments.")
|
||||||
(properties `((python2-variant . ,(delay python2-pytest-mock))))
|
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-pytest-mock
|
|
||||||
(let ((base (package-with-python2
|
|
||||||
(strip-python2-variant python-pytest-mock))))
|
|
||||||
(package/inherit base
|
|
||||||
(version "1.10.1")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "pytest-mock" version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1i5mg3ff1qk0wqfcxfz60hwy3q5dskdp36i10ckigkzffg8hc3ad"))))
|
|
||||||
(arguments
|
|
||||||
`(#:python ,python-2))
|
|
||||||
(native-inputs
|
|
||||||
`(("python2-setuptools-scm" ,python2-setuptools-scm)))
|
|
||||||
(propagated-inputs
|
|
||||||
`(("python2-mock" ,python2-mock)
|
|
||||||
("python2-pytest" ,python2-pytest))))))
|
|
||||||
|
|
||||||
(define-public python-pytest-xdist
|
(define-public python-pytest-xdist
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-xdist")
|
(name "python-pytest-xdist")
|
||||||
|
|
Reference in New Issue