python-astropy/python-astropy-skiptest2516.patch
2014-12-09 00:41:12 +01:00

20 lines
982 B
Diff

diff -ur astropy-0.4.2/astropy/modeling/tests/test_models.py astropy-0.4.2.2516/astropy/modeling/tests/test_models.py
--- astropy-0.4.2/astropy/modeling/tests/test_models.py 2014-12-05 11:26:51.485613491 +0100
+++ astropy-0.4.2.2516/astropy/modeling/tests/test_models.py 2014-12-05 11:26:29.097428190 +0100
@@ -395,6 +395,7 @@
y = test_parameters['y_values']
utils.assert_allclose(model(x), y, atol=self.eval_error)
+ @pytest.mark.xfail(reason="xfail in Fedora. (github isssue #2516)")
@pytest.mark.skipif('not HAS_SCIPY')
def test_fitter1D(self, model_class, test_parameters):
"""
@@ -431,6 +431,7 @@
utils.assert_allclose(fitted, expected, atol=self.fit_error)
@pytest.mark.skipif('not HAS_SCIPY')
+ @pytest.mark.xfail(reason='xfail in Fedora, bug #2156')
def test_deriv_1D(self, model_class, test_parameters):
"""
Test the derivative of a model by comparing results with an estimated derivative