Skip to content

Commit 03d3b6b

Browse files
authored
Improve comment
1 parent 2e49ae3 commit 03d3b6b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/zarr/testing/strategies.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,10 @@ def chunk_grids(
422422
draw: st.DrawFn, *, shape: tuple[int, ...]
423423
) -> RegularChunkGridMetadata | RectilinearChunkGridMetadata:
424424
"""Generate either a RegularChunkGridMetadata or RectilinearChunkGridMetadata.
425-
Depending on whether the config is set (WARN: look here if we get a flaky error)
425+
426+
This strategy depends on the global state of the config having rectilinear chunk grids enabled or not.
427+
This means that it may be a possible source of a hypothesis FlakyStrategy error due dependence
428+
on global state. However, in practice this seems unlikely to happen.
426429
427430
This allows property tests to exercise both chunk grid types.
428431
"""

0 commit comments

Comments
 (0)