diff options
Diffstat (limited to 'sci-visualization/fsleyes-widgets/files')
-rw-r--r-- | sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch | 10 | ||||
-rw-r--r-- | sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch | 69 |
2 files changed, 0 insertions, 79 deletions
diff --git a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch deleted file mode 100644 index 6db8c01d8..000000000 --- a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-coverage.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/setup.cfg b/setup.cfg -index c3ebd936..d678d2df 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -9,4 +9,4 @@ ignore = E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701 - - [tool:pytest] - testpaths = tests --addopts = -v --cov=fsleyes_widgets -+addopts = -v diff --git a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch b/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch deleted file mode 100644 index 20ef1a9ad..000000000 --- a/sci-visualization/fsleyes-widgets/files/fsleyes-widgets-0.8.4-tests.patch +++ /dev/null @@ -1,69 +0,0 @@ -diff --git a/tests/test_floatslider.py b/tests/test_floatslider.py -index 87a2477..6bbedb7 100644 ---- a/tests/test_floatslider.py -+++ b/tests/test_floatslider.py -@@ -140,8 +140,14 @@ def _test_FloatSlider_changeRange(): - _test_widget_changeRange(slider) - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+ "https://github.com/pauldmccarthy/fsleyes-widgets/issues/1" -+ ) - def test_FloatSlider_mouse_non_gtk(): - run_with_wx(_test_FloatSlider_mouse) -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+ "https://github.com/pauldmccarthy/fsleyes-widgets/issues/1" -+ ) - def test_FloatSlider_mouse_gtk(): - with mock.patch('fsleyes_widgets.floatslider.wx.Platform', '__WXGTK__'): - run_with_wx(_test_FloatSlider_mouse) -@@ -322,7 +328,9 @@ def _test_SliderSpinPanel_show_edit_limits(): - if shouldEv: assert result[0] == expected - else: assert result[0] is None - -- -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+ "https://github.com/pauldmccarthy/fsleyes-widgets/issues/1" -+ ) - def test_SliderSpinPanel_events(): - run_with_wx(_test_SliderSpinPanel_events) - def _test_SliderSpinPanel_events(): -diff --git a/tests/test_notebook.py b/tests/test_notebook.py -index a02226c..74e8f63 100644 ---- a/tests/test_notebook.py -+++ b/tests/test_notebook.py -@@ -190,6 +190,9 @@ def _test_enable_disable_show_hide(side, ornt): - assert notebook.GetSelection() == 1 - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+ "https://github.com/pauldmccarthy/fsleyes-widgets/issues/1" -+ ) - def test_event(): - nb_run_with_wx(_test_event) - def _test_event(side, ornt): -diff --git a/tests/test_rangeslider.py b/tests/test_rangeslider.py -index 7ddbed6..51267b3 100644 ---- a/tests/test_rangeslider.py -+++ b/tests/test_rangeslider.py -@@ -103,6 +103,9 @@ def _test_RangePanel_logic_spin(): - _test_RangePanel_logic(panel) - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+ "https://github.com/pauldmccarthy/fsleyes-widgets/issues/1" -+ ) - def test_RangePanel_events_slider(): - run_with_wx(_test_RangePanel_events_slider) - def _test_RangePanel_events_slider(): -@@ -236,6 +239,9 @@ def _test_RangeSliderSpinPanel_logic(): - _test_RangePanel_logic(panel) - - -+@pytest.mark.skip(reason="Known to fail on Gentoo:" -+ "https://github.com/pauldmccarthy/fsleyes-widgets/issues/1" -+ ) - def test_RangeSliderSpinPanel_onchange(): - run_with_wx(_test_RangeSliderSpinPanel_onchange) - def _test_RangeSliderSpinPanel_onchange(): - |