Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Nov 27, 2024
1 parent 82930a1 commit 744cdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_zarrdataio.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_hdf5_to_zarr_filters_other_unsupported(self):
**hdf5plugin.FciDecomp())
# test that we warn due to the FciDecomp
msg = r"/test_fcidecomp HDF5 filter id 32018 with properties .* ignored in Zarr."
with self.assertWarnsWith(UserWarning, msg):
with self.assertWarnsRegex(UserWarning, msg):
filters = ZarrDataIO.hdf5_to_zarr_filters(h5dset_FciDecomp)
self.assertEqual(len(filters), 0)
# Close the HDF5 file
Expand Down

0 comments on commit 744cdb5

Please sign in to comment.