From c7b22cbb22db392eabdd82ccf668fc7a10aade07 Mon Sep 17 00:00:00 2001 From: Ole Streicher Date: Mon, 11 Sep 2017 15:36:05 +0200 Subject: [PATCH] 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 --- 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') -- 2.30.2