From 7f01f238c1194324c0f23c2ea9c0d46a24046b01 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Dec 08 2014 23:41:12 +0000 Subject: Update patch for bug 2516 --- diff --git a/python-astropy-skiptest2516.patch b/python-astropy-skiptest2516.patch index 5c44f9c..6497c5c 100644 --- a/python-astropy-skiptest2516.patch +++ b/python-astropy-skiptest2516.patch @@ -5,7 +5,15 @@ diff -ur astropy-0.4.2/astropy/modeling/tests/test_models.py astropy-0.4.2.2516/ y = test_parameters['y_values'] utils.assert_allclose(model(x), y, atol=self.eval_error) -+ @pytest.mark.xfail(reason="Skip in Fedora. (github isssue #2516)") ++ @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 diff --git a/python-astropy.spec b/python-astropy.spec index 7180751..4b1323a 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -3,7 +3,7 @@ Name: python-astropy Version: 0.4.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Community Python Library for Astronomy License: BSD @@ -228,6 +228,9 @@ popd %endif # with_python3 %changelog +* Tue Dec 09 2014 Sergio Pascual - 0.4.2-4 +- Update patch for bug 2516 + * Mon Dec 08 2014 Sergio Pascual - 0.4.2-3 - Mark problematic tests as xfail via patch