gnu: python-devtools: Disable failing tests.

* gnu/packages/python-xyz.scm (python-devtools): Disable failing tests.
[arguments] <test-flags>: Disable failing tests.

Change-Id: I1c6533a4a912d5dc4bde3610ccce7d38837caac4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Hugo Buddelmeijer 2025-09-25 21:53:59 +02:00 committed by Sharlatan Hellseher
parent bcbc4cf384
commit 7c7bc37b6e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -34264,7 +34264,19 @@ and have a maximum lifetime built-in.")
(list
#:test-flags
;; Disable some failing tests.
'(list "-k" "not test_print_subprocess"
;;
;; test_print_subprocess seems to inherit wrong environment, fails with
;; E + ModuleNotFoundError: No module named 'executing'
;; Test runs fine from local clone.
;;
;; test_executing_failure fails with
;; E - [1, 2] (list) len=2
;; E + [x, y]: [1, 2] (list) len=2
;; unclear why, probably due to a dependency.
'(list "-k" "not test_print_subprocess and not test_executing_failure"
;; test_insert_assert.py also seems to inherit a bad environment:
;; E fixture 'pytester_pretty' not found
;; Test runs fine from local clone.
"--ignore=tests/test_insert_assert.py")))
(native-inputs
(list python-hatchling python-pytest python-pytest-mock))