[Debian-astro-commits] [python-astropy] 01/01: Shorten message to compare for recent h5py.

Ole Streicher olebole at moszumanska.debian.org
Mon Sep 11 13:41:39 UTC 2017


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

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

commit 3aa8cc01d854cd08b416ac768ffdb4d7f3ea8123
Author: Ole Streicher <olebole at debian.org>
Date:   Mon Sep 11 15:38:57 2017 +0200

    Shorten message to compare for recent h5py.
---
 ...horten-message-to-compare-for-recent-h5py.patch | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/Shorten-message-to-compare-for-recent-h5py.patch b/debian/patches/Shorten-message-to-compare-for-recent-h5py.patch
new file mode 100644
index 0000000..f741b00
--- /dev/null
+++ b/debian/patches/Shorten-message-to-compare-for-recent-h5py.patch
@@ -0,0 +1,22 @@
+From: Ole Streicher <olebole at debian.org>
+Date: Mon, 11 Sep 2017 15:36:05 +0200
+Subject: Shorten message to compare for recent h5py.
+
+See https://github.com/astropy/astropy/issues/6534
+---
+ astropy/io/misc/tests/test_hdf5.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/astropy/io/misc/tests/test_hdf5.py b/astropy/io/misc/tests/test_hdf5.py
+index 1b8c663..bbc4b2a 100644
+--- a/astropy/io/misc/tests/test_hdf5.py
++++ b/astropy/io/misc/tests/test_hdf5.py
+@@ -413,7 +413,7 @@ def test_metadata_too_large(tmpdir):
+     assert len(w) == 1
+     assert str(w[0].message).startswith(
+         "Attributes could not be written to the output HDF5 "
+-        "file: Unable to create attribute (Object header message is too large)")
++        "file: Unable to create attribute ")
+ 
+ 
+ @pytest.mark.skipif('not HAS_H5PY')
diff --git a/debian/patches/series b/debian/patches/series
index 69494b6..feb8dcd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ disable_helper.patch
 only_python3-binaries.patch
 mark_known_failures.patch
 external_python_pkgs.patch
+Shorten-message-to-compare-for-recent-h5py.patch

-- 
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-astro-commits mailing list