mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 19:49:25 -05:00
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:
parent
e2c7b7bb68
commit
4750b3a268
1 changed files with 3 additions and 1 deletions
|
@ -642,7 +642,8 @@ (define-public python-pytest
|
|||
(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 @@ (define-public python-pytest
|
|||
("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")
|
||||
|
|
Loading…
Reference in a new issue