[python-astropy] 01/02: Fix vo_test.py for big endian

Ole Streicher olebole-guest at moszumanska.debian.org
Wed Dec 11 08:38:42 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 f3fa056774b4a47e4e608db8e4dbd0b71e195814
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Dec 10 11:25:44 2013 +0100

    Fix vo_test.py for big endian
---
 debian/changelog                         |  6 ++++++
 debian/patches/mark_known_failures.patch | 11 +++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3140ebe..fc43512 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-astropy (0.3-3) unstable; urgency=low
+
+  * Fix vo_test.py for big endian.
+
+ -- Ole Streicher <debian at liska.ath.cx>  Tue, 10 Dec 2013 11:23:38 +0100
+
 python-astropy (0.3-2) unstable; urgency=low
 
   * Fix doctest and mark other known test failures on big endian until
diff --git a/debian/patches/mark_known_failures.patch b/debian/patches/mark_known_failures.patch
index ba58115..12b85aa 100644
--- a/debian/patches/mark_known_failures.patch
+++ b/debian/patches/mark_known_failures.patch
@@ -365,3 +365,14 @@ Bug: https://github.com/astropy/astropy/issues/1849
  
      s = "\nRunning tests with Astropy version {0}.\n".format(__version__)
      s += "Running tests in {0}.\n\n".format(" ".join(config.args))
+--- a/astropy/io/votable/tests/vo_test.py
++++ b/astropy/io/votable/tests/vo_test.py
+@@ -127,7 +127,7 @@
+         new_dtypes = []
+         for dtype in dtypes:
+             dtype = list(dtype)
+-            dtype[1] = dtype[1].replace(b'<', b'>')
++            dtype[1] = dtype[1].replace(str('<'), str('>'))
+             new_dtypes.append(tuple(dtype))
+         dtypes = new_dtypes
+     assert table.array.dtype == dtypes

-- 
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