mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: python-pytest-shutil: Disable a test.
* gnu/packages/python-check.scm (python-pytest-shutil)[build-system]: Use pyproject-build-system. [arguments]: Disable test_pretty_formatter. Change-Id: I862320feab5b3c6e375bf652deced6a631dfc575
This commit is contained in:
parent
360f9ea421
commit
79d13482e4
1 changed files with 8 additions and 5 deletions
|
@ -1266,16 +1266,19 @@ (define-public python-pytest-shutil
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq"))))
|
"0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:test-flags
|
||||||
|
;; This test is sensitive to generated terminal escape codes.
|
||||||
|
'(list "-k" "not test_pretty_formatter")
|
||||||
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'use-path-instead-of-path.py
|
(add-after 'unpack 'use-path-instead-of-path.py
|
||||||
;; path.py is obsolete.
|
;; path.py is obsolete.
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("'path.py'")
|
(("'path.py'") "'path'"))))
|
||||||
"'path'"))))
|
|
||||||
(add-after 'unpack 'patch-tests
|
(add-after 'unpack 'patch-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(mkdir "/tmp/bin")
|
(mkdir "/tmp/bin")
|
||||||
|
|
Loading…
Reference in a new issue