[python-astropy] 01/02: Mark known s390 failures as xfail

Ole Streicher olebole-guest at moszumanska.debian.org
Fri Dec 20 13:10:34 UTC 2013


This is an automated email from the git hooks/post-receive script.

olebole-guest pushed a commit to branch debian
in repository python-astropy.

commit 8c3acc04bc7fd9d0d9b2b5a8192ea0afb67f1605
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Dec 20 10:45:31 2013 +0100

    Mark known s390 failures as xfail
---
 debian/changelog                         |  6 ++++++
 debian/patches/mark_known_failures.patch | 29 +++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fc43512..5282da3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-astropy (0.3-4) unstable; urgency=low
+
+  * Mark known s390 failures as xfail.
+
+ -- Ole Streicher <debian at liska.ath.cx>  Fri, 20 Dec 2013 10:43:16 +0100
+
 python-astropy (0.3-3) unstable; urgency=low
 
   * Fix vo_test.py for big endian.
diff --git a/debian/patches/mark_known_failures.patch b/debian/patches/mark_known_failures.patch
index 12b85aa..c8335da 100644
--- a/debian/patches/mark_known_failures.patch
+++ b/debian/patches/mark_known_failures.patch
@@ -4,6 +4,7 @@ Description: Fix doctest and mark other known test failures on big endian
  .
  The patch for pytest_plugins.py is taken from the git version of this file.
 Bug: https://github.com/astropy/astropy/issues/1849
+Bug: https://github.com/astropy/astropy/issues/1885
 --- a/astropy/io/fits/tests/test_connect.py
 +++ b/astropy/io/fits/tests/test_connect.py
 @@ -30,6 +30,7 @@
@@ -376,3 +377,31 @@ Bug: https://github.com/astropy/astropy/issues/1849
              new_dtypes.append(tuple(dtype))
          dtypes = new_dtypes
      assert table.array.dtype == dtypes
+--- a/astropy/modeling/tests/test_fitters.py
++++ b/astropy/modeling/tests/test_fitters.py
+@@ -69,6 +69,7 @@
+         self.cheb2 = models.Chebyshev2D(2, 2)
+         self.fitter = fitting.LinearLSQFitter()
+ 
++    @pytest.mark.xfail
+     def test_default_params(self):
+         self.cheb2.parameters = np.arange(9)
+         p = np.array([1344., 1772., 400., 1860., 2448., 552., 432., 568.,
+@@ -77,6 +78,7 @@
+         model = self.fitter(self.cheb2, self.x, self.y, z)
+         utils.assert_almost_equal(model.parameters, p)
+ 
++    @pytest.mark.xfail
+     def test_poly2D_cheb2D(self):
+         model = self.fitter(self.cheb2, self.x, self.y, self.z)
+         z1 = model(self.x, self.y)
+--- a/astropy/modeling/tests/test_input.py
++++ b/astropy/modeling/tests/test_input.py
+@@ -53,6 +53,7 @@
+         m(self.x2)
+ 
+     @pytest.mark.parametrize(('model', 'params'), model2d_params)
++    @pytest.mark.xfail
+     def test_input2D(self, model, params):
+         m = model(*params)
+         m(self.x, self.y)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-astropy.git



More information about the debian-science-commits mailing list