Skip to content

Commit

Permalink
Use map(str, *) in test_accessed_chunks (#2229)
Browse files Browse the repository at this point in the history
* 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 <joe@earthmover.io>
  • Loading branch information
3 people authored Sep 25, 2024
1 parent 1574e8b commit 3ce7670
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/v3/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1782,9 +1782,7 @@ async def test_accessed_chunks(

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

counts_before = store.counter.copy()

Expand Down

0 comments on commit 3ce7670

Please sign in to comment.