[python-astropy] 04/04: Don't check wcslib version. See https://github.com/astropy/astropy/issues/3400
Ole Streicher
olebole-guest at moszumanska.debian.org
Sat Jan 31 16:25:19 UTC 2015
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 2dee72945d4c49056ad54d898eed7d6eca0b4d7f
Author: Ole Streicher <debian at liska.ath.cx>
Date: Sat Jan 31 17:06:52 2015 +0100
Don't check wcslib version. See https://github.com/astropy/astropy/issues/3400
---
debian/patches/mark_known_failures.patch | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/debian/patches/mark_known_failures.patch b/debian/patches/mark_known_failures.patch
index 130cdd7..5560caa 100644
--- a/debian/patches/mark_known_failures.patch
+++ b/debian/patches/mark_known_failures.patch
@@ -10,3 +10,29 @@ Description: Mark all known test failures as xfail.
- assert configuration.update_default_config('astropy', config_dir) is False
+# see https://github.com/astropy/astropy/issues/2841
+ assert configuration.update_default_config('astropy', config_dir) is None
+--- a/astropy/wcs/tests/test_wcsprm.py
++++ b/astropy/wcs/tests/test_wcsprm.py
+@@ -784,19 +784,16 @@
+ assert not w.compare(w2)
+ assert w.compare(w2, tolerance=1e-6)
+
+-
+- at pytest.mark.xfail(
+- LooseVersion(_wcs.__version__) < LooseVersion("4.25"),
+- reason="wcslib < 4.25")
++# see https://github.com/astropy/astropy/issues/3400
++ at pytest.mark.xfail()
+ def test_radesys_defaults():
+ w = _wcs.Wcsprm()
+ w.ctype = ['RA---TAN', 'DEC--TAN']
+ w.set()
+ assert w.radesys == "ICRS"
+
+- at pytest.mark.xfail(
+- LooseVersion(_wcs.__version__) < LooseVersion("4.25"),
+- reason="wcslib < 4.25")
++# see https://github.com/astropy/astropy/issues/3400
++ at pytest.mark.xfail()
+ def test_radesys_defaults_full():
+
+ # As described in Section 3.1 of the FITS standard "Equatorial and ecliptic
--
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