Skip to content

Conversation

@dikwickley
Copy link

Fixes: #2630

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/tutorial.rst
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

zarr_dir = tmp_path / "test.zarr"
group = zarr.open(zarr_dir, mode="w")
zarr_dir = tmp_path / f"{mode}-test.zarr"
if mode in ["r", "r+"]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block won't every be executed, because the mode is only 'w' or 'a' in this test. Do you think we should get rid of the if block, or extend the parameterisation to include 'r' and 'r+'?

@dikwickley dikwickley closed this Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test for group creation across all mode options

2 participants