def METHOD_NAME(self):
    with pytest.raises(OSError,
                       match=r"\[Errno 5\] An error occurred \(\) when"
                             r" calling the ListObjectsV2 operation:"
                             r" "):
        open_dataset('http://localhost:8080/s3/datasets/local.zarr',
                     format_name='zarr',
                     s3_kwargs={
                         'anon': True
                     })