Skip to content

Commit

Permalink
Fixing black errors
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed May 26, 2024
1 parent 507861e commit b1240e7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ndfilters/_tests/test_trimmed_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ def test_trimmed_mean_filter(
)
return

size_normalized = (
(size,) * len(axis_normalized)
if isinstance(size, int)
else size
)
if isinstance(size, int):
size_normalized = (size,) * len(axis_normalized)
else:
size_normalized = size

if len(size_normalized) != len(axis_normalized):
with pytest.raises(ValueError):
Expand Down

0 comments on commit b1240e7

Please sign in to comment.