Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlane committed Feb 4, 2025
1 parent 16d6090 commit fc5720b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unit/test_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def miller_dataseries() -> rs.DataSeries:

def test_compute_anisotropic_scale_factors_smoke(miller_dataseries: rs.DataSeries) -> None:
# test call signature, valid return
np_rng = np.random.default_rng()
random_params: scale.ScaleParameters = tuple(np_rng.normal(size=7))
random_params: scale.ScaleParameters = (1.5,) * 7
scale_factors = _compute_anisotropic_scale_factors(miller_dataseries.index, random_params)
assert len(scale_factors) == len(miller_dataseries)

Expand Down

0 comments on commit fc5720b

Please sign in to comment.