Skip to content

Commit

Permalink
Fix flake8 for new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Jul 26, 2023
1 parent e3d61eb commit d0fce99
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_dynamic_target_chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class TestDynamicTargetChunks:
@pytest.mark.parametrize(
("dims_shape", "target_chunks_aspect_ratio", "expected_target_chunks"),
[
# make sure that for the same dataset we get smaller chunksize along a dimension if the ratio is larger
# make sure that for the same dataset we get smaller chunksize along
# a dimension if the ratio is larger
(
{"x": 200, "y": 200, "z": 200},
{"x": 1, "y": 1, "z": 10},
Expand Down Expand Up @@ -64,8 +65,8 @@ def test_nbytes_str_input(self):
assert target_chunks_int[dim] == target_chunks_str[dim]

def test_dynamic_rechunking_maintain_ratio(self):
"""Confirm that for a given ratio with two differently sized datasets we maintain a constant ratio
between total number of chunks"""
"""Confirm that for a given ratio with two differently sized datasets we
maintain a constant ratio between total number of chunks"""
ds_equal = _create_ds({"x": 64, "y": 64})
ds_long = _create_ds({"x": 64, "y": 256})

Expand Down

0 comments on commit d0fce99

Please sign in to comment.