diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-05-03 08:25:02 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-05-05 22:38:17 +0200 |
commit | 79d13482e49efd86ec992af83daf5209b12f9ff1 (patch) | |
tree | 562c3b412ad7dbc1f60cf192762920146be284c3 /gnu | |
parent | 360f9ea421a4e286f223fa635e5a715b3c9709f1 (diff) |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-check.scm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 9124e9c1c4..c5607df1ec 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -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") |