gnu: python-pytest: Run the tests again.

"python setup.py test" is ineffective since 3.6.x.  The circle is complete.

* gnu/packages/check.scm (python-pytest)[arguments]: Override 'check' phase.
[native-inputs]: Add PYTHON-PYTEST-BOOTSTRAP.
This commit is contained in:
Marius Bakke 2018-08-21 05:46:47 +02:00
parent e2c7b7bb68
commit 4750b3a268
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -642,7 +642,8 @@ standard library.")
(string-append "@pytest.mark.skip"
"(reason=\"Assumes that /usr exists.\")\n "
line)))
#t)))))
#t))
(replace 'check (lambda _ (invoke "pytest" "-vv"))))))
(propagated-inputs
`(("python-atomicwrites" ,python-atomicwrites)
("python-attrs" ,python-attrs-bootstrap)
@ -656,6 +657,7 @@ standard library.")
("python-hypothesis" ,python-hypothesis)
("python-nose" ,python-nose)
("python-mock" ,python-mock)
("python-pytest" ,python-pytest-bootstrap)
("python-setuptools-scm" ,python-setuptools-scm)))
(home-page "http://pytest.org")
(synopsis "Python testing library")