From e3ac387f91c9434e311d50792ed308e42e2aac9e Mon Sep 17 00:00:00 2001 From: Oliver Ruebel Date: Sun, 31 Dec 2023 20:47:07 -0800 Subject: [PATCH] Update warning check in failing unit test --- tests/unit/base_tests_zarrio.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/base_tests_zarrio.py b/tests/unit/base_tests_zarrio.py index 98123ff1..693f9ff5 100644 --- a/tests/unit/base_tests_zarrio.py +++ b/tests/unit/base_tests_zarrio.py @@ -1579,7 +1579,8 @@ def close(self): with OtherIO(manager=get_foo_buildmanager()) as read_io: with ZarrIO(self.store[1], mode='w') as export_io: - msg = "Cannot export from non-Zarr backend OtherIO to Zarr with write argument link_data=True." + msg = ("Cannot export from non-Zarr backend OtherIO to Zarr with write argument link_data=True. " + "Set write_args={'link_data': False}") with self.assertRaisesWith(UnsupportedOperation, msg): export_io.export(src_io=read_io, container=foofile)