From: Ole Streicher Date: Mon, 11 Sep 2017 13:36:05 +0000 (+0200) Subject: Shorten message to compare for recent h5py. X-Git-Tag: archive/raspbian/2.0.2-2+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7f53f581b6674c149f0e72cc104617f316cb13d5;p=python-astropy.git Shorten message to compare for recent h5py. See https://github.com/astropy/astropy/issues/6534 Gbp-Pq: Name Shorten-message-to-compare-for-recent-h5py.patch --- 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')