Message ID | 0161703ca0ab9849780ee2d9d6acf9f4dfd74408.1715932852.git.mail@cbaines.net |
---|---|
State | New |
Headers | show |
Series | [bug#70997] gnu: python-scikit-image: Disable test_ellipse_parameter_stability. | expand |
Hi Christopher I think you may add the test to ignore list without substituting it. --8<---------------cut here---------------start------------->8--- #:test-flags #~(list "-k" "test_ellipse_parameter_stability") --8<---------------cut here---------------end--------------->8--- -- Oleg
Sharlatan Hellseher <sharlatanus@gmail.com> writes: > I think you may add the test to ignore list without substituting it. > > --8<---------------cut here---------------start------------->8--- > #:test-flags #~(list "-k" "test_ellipse_parameter_stability") > --8<---------------cut here---------------end--------------->8--- Thanks for the suggestion, I think that actually selects the test to run, but adding not to the start seems to skip the named test, so I've pushed this as a4a45669c76f80d5126add818df22f42547bb4a2. Chris
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 861badad2e..d1a43b23ed 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -475,6 +475,13 @@ (define-public python-scikit-image (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + ;; Disable flaky test + (substitute* "skimage/measure/tests/test_fit.py" + (("def test_ellipse_parameter_stability():") + "@pytest.mark.xfail(reason=\"https://github.com/scikit-image/scikit-image/issues/7061\") +def test_ellipse_parameter_stability():")))) (add-before 'build 'change-home-dir (lambda _ ;; Change from /homeless-shelter to /tmp for write permission.