[python-astropy] 02/02: Remove wcslib related xfails, and ass a patch header

Ole Streicher olebole-guest at moszumanska.debian.org
Tue Jul 8 10:24:42 UTC 2014


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 b1a0b31027922572c07a32e8719fa145bc270b3e
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Jul 8 12:24:30 2014 +0200

    Remove wcslib related xfails, and ass a patch header
---
 debian/patches/mark_known_failures.patch | 27 +++------------------------
 1 file changed, 3 insertions(+), 24 deletions(-)

diff --git a/debian/patches/mark_known_failures.patch b/debian/patches/mark_known_failures.patch
index ba8d997..d6705ba 100644
--- a/debian/patches/mark_known_failures.patch
+++ b/debian/patches/mark_known_failures.patch
@@ -1,3 +1,6 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Mark all known test failures as xfail.
+ These failures have been discussed with upstream.
 --- a/astropy/io/fits/tests/test_connect.py
 +++ b/astropy/io/fits/tests/test_connect.py
 @@ -121,6 +121,9 @@
@@ -30,27 +33,3 @@
      def test_read_with_hdu_1(self, tmpdir, hdu):
          filename = str(tmpdir.join('test_read_with_hdu_1.fits'))
          self.hdus.writeto(filename)
---- a/astropy/wcs/tests/test_wcs.py
-+++ b/astropy/wcs/tests/test_wcs.py
-@@ -353,6 +353,9 @@
-         run()
- 
- 
-+# see https://github.com/astropy/astropy/issues/2482
-+# fails with wcslib-4.23 on all platforms
-+ at pytest.mark.xfail
- def test_to_header_string():
-     header_string = """
-     WCSAXES =                    2 / Number of coordinate axes                      CRPIX1  =                  0.0 / Pixel coordinate of reference point            CRPIX2  =                  0.0 / Pixel coordinate of reference point            CDELT1  =                  1.0 / Coordinate increment at reference point        CDELT2  =                  1.0 / Coordinate increment at reference point        CRVAL1  =                  0.0 / Coordinate value at reference point            CRVAL2  [...]
---- a/astropy/wcs/tests/test_wcsprm.py
-+++ b/astropy/wcs/tests/test_wcsprm.py
-@@ -639,6 +639,9 @@
-     assert isinstance(w.to_header(), str)
- 
- 
-+# see https://github.com/astropy/astropy/issues/2482
-+# fails with wcslib-4.23 on all platforms
-+ at pytest.mark.xfail
- def test_velangl():
-     w = _wcs.Wcsprm()
-     assert np.isnan(w.velangl)

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



More information about the debian-science-commits mailing list