Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
brownj85 committed Oct 16, 2023
1 parent d99443a commit 30727d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/data/base/test_hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ def patch_h5py(monkeypatch):
monkeypatch.setattr(hdf5, "h5py", MagicMock())


def test_open_hdf5_s3(
mock_fsspec
): # pylint: disable=redefined-outer-name
def test_open_hdf5_s3(mock_fsspec): # pylint: disable=redefined-outer-name
"""Test that open_hdf5_s3 calls fsspec.open() with the expected arguments."""

ret = hdf5.open_hdf5_s3("/bucket")

assert isinstance(ret, h5py.File)
mock_fsspec.open.assert_called_once_with("/bucket", **{"cache_type": "mmap", "block_size": 8 * (2**20)})
mock_fsspec.open.assert_called_once_with(
"/bucket", **{"cache_type": "mmap", "block_size": 8 * (2**20)}
)


def test_copy_all_conflict_overwrite(tmp_path):
Expand Down

0 comments on commit 30727d4

Please sign in to comment.