From 3c1661347d7b89636ea3008095c2fa76a5784230 Mon Sep 17 00:00:00 2001 From: l-kotzur Date: Fri, 9 Aug 2024 11:20:32 +0200 Subject: [PATCH] update np.nan --- test/test_assert_raises.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_assert_raises.py b/test/test_assert_raises.py index 6b6b0b5..af5dee7 100644 --- a/test/test_assert_raises.py +++ b/test/test_assert_raises.py @@ -221,7 +221,7 @@ def test_assert_raises(): # check erroneous dataframe containing NaN values rawNan = copy.deepcopy((raw)) - rawNan.iloc[10, :] = np.NaN + rawNan.iloc[10, :] = np.nan aggregation = tsam.TimeSeriesAggregation(timeSeries=rawNan) np.testing.assert_raises_regex( ValueError,