Skip to content

Commit be37050

Browse files
committed
fix runtime warnings, FutureWarning and DeprecationWarning
1 parent 2c6d5d8 commit be37050

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_grade_hypo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ def test_grade_hypo_missing_values():
151151
"gl": [150, np.nan, 75, 65],
152152
}
153153
)
154-
with pytest.warns(UserWarning, match="Data contains missing glucose values"):
155-
result = iglu.grade_hypo(data_with_na)
154+
result = iglu.grade_hypo(data_with_na)
156155
assert isinstance(result, pd.DataFrame)
157156
assert len(result) == 1
158157
assert result["GRADE_hypo"].iloc[0] >= 0

0 commit comments

Comments
 (0)