mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -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
|
||||
(base32
|
||||
"0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list
|
||||
#: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
|
||||
;; path.py is obsolete.
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("'path.py'")
|
||||
"'path'"))))
|
||||
(("'path.py'") "'path'"))))
|
||||
(add-after 'unpack 'patch-tests
|
||||
(lambda _
|
||||
(mkdir "/tmp/bin")
|
||||
|
|
Loading…
Reference in a new issue