From 512bdaaf1d66c77f793c104ab94260e359021d0e Mon Sep 17 00:00:00 2001 From: jakirkham Date: Tue, 24 Sep 2024 15:32:52 -0700 Subject: [PATCH 1/2] Update test_indexing.py --- tests/v3/test_indexing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/v3/test_indexing.py b/tests/v3/test_indexing.py index d2cf455e07..ca38e4efe4 100644 --- a/tests/v3/test_indexing.py +++ b/tests/v3/test_indexing.py @@ -1783,7 +1783,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) + ".".join(map(str, comb)) for comb in itertools.product(*chunks_per_dim) ] counts_before = store.counter.copy() From f75fc1621317807b843f59e8e188c69562a26d02 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2024 22:27:26 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- tests/v3/test_indexing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/v3/test_indexing.py b/tests/v3/test_indexing.py index ca38e4efe4..5a58192ad7 100644 --- a/tests/v3/test_indexing.py +++ b/tests/v3/test_indexing.py @@ -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(map(str, 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()