[python-astropy] Update patch for bug 2516
Sergio Pascual
sergiopr at fedoraproject.org
Mon Dec 8 23:41:07 UTC 2014
commit 7f01f238c1194324c0f23c2ea9c0d46a24046b01
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Tue Dec 9 00:41:12 2014 +0100
Update patch for bug 2516
python-astropy-skiptest2516.patch | 10 +++++++++-
python-astropy.spec | 5 ++++-
2 files changed, 13 insertions(+), 2 deletions(-)
---
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 <sergiopr at fedoraproject.org> - 0.4.2-4
+- Update patch for bug 2516
+
* Mon Dec 08 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 0.4.2-3
- Mark problematic tests as xfail via patch
More information about the scm-commits
mailing list