Skip to content

Commit 3ce7670

Browse files
jakirkhampre-commit-ci[bot]jhamman
authored
Use map(str, *) in test_accessed_chunks (zarr-developers#2229)
* Update test_indexing.py * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Joe Hamman <[email protected]>
1 parent 1574e8b commit 3ce7670

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/v3/test_indexing.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1782,9 +1782,7 @@ async def test_accessed_chunks(
17821782

17831783
# Combine and generate the cartesian product to determine the chunks keys that
17841784
# will be accessed
1785-
chunks_accessed = [
1786-
".".join([str(ci) for ci in comb]) for comb in itertools.product(*chunks_per_dim)
1787-
]
1785+
chunks_accessed = [".".join(map(str, comb)) for comb in itertools.product(*chunks_per_dim)]
17881786

17891787
counts_before = store.counter.copy()
17901788

0 commit comments

Comments
 (0)