Skip to content

Commit

Permalink
AMAROC-681 fix pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
regDaniel committed Nov 14, 2023
1 parent 84eae3d commit 9474db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ampycloud/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import warnings
from pytest import mark, param, raises, warns
import numpy as np
import numpy.typing as npt
import pandas as pd

# Import from ampycloud
Expand Down Expand Up @@ -153,6 +152,7 @@ def test_calc_base_alt(
alt_perc: int,
q_expected: np.float64,
):
"""Test the calculation of the slice/ group/ layer base altitude."""
vals = np.arange(1., 101.)
q = calc_base_alt(vals, lookback_perc, alt_perc)
np.testing.assert_almost_equal(q, q_expected, decimal=1)

0 comments on commit 9474db9

Please sign in to comment.