Skip to content

Commit

Permalink
Update warning check in failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Jan 1, 2024
1 parent 12082d3 commit e3ac387
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/base_tests_zarrio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e3ac387

Please sign in to comment.