~ruther/guix-local

7c7bc37b6e5dbd95958273ef22a44ce6209fdce9 — Hugo Buddelmeijer 5 months ago bcbc4cf
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>
1 files changed, 13 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +13 -1
@@ 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))