gnu: python-flake8-polyfill: Adjust tests for Pytest 4.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)[arguments]: Add substitution in setup.cfg.
This commit is contained in:
parent
e77947db06
commit
40a7153d19
|
@ -6541,6 +6541,12 @@ complexity of Python source code.")
|
|||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; Be compatible with Pytest 4:
|
||||
;; https://gitlab.com/pycqa/flake8-polyfill/merge_requests/7
|
||||
(substitute* "setup.cfg"
|
||||
(("\\[pytest\\]")
|
||||
"[tool:pytest]"))
|
||||
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append (getcwd) "/build/lib:"
|
||||
(getenv "PYTHONPATH")))
|
||||
|
|
Loading…
Reference in New Issue