Update patch for bug 2516
This commit is contained in:
parent
7705da2e92
commit
7f01f238c1
@ -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
|
||||
|
@ -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@fedoraproject.org> - 0.4.2-4
|
||||
- Update patch for bug 2516
|
||||
|
||||
* Mon Dec 08 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.4.2-3
|
||||
- Mark problematic tests as xfail via patch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user