me
/
guix
Archived
1
0
Fork 0

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
master
Ricardo Wurmus 2024-05-03 08:25:02 +02:00
parent 360f9ea421
commit 79d13482e4
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 5 deletions

View File

@ -1266,16 +1266,19 @@ isort.")
(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")