diff --git a/test/test_assert_raises.py b/test/test_assert_raises.py index 6b6b0b5..3f3649a 100644 --- a/test/test_assert_raises.py +++ b/test/test_assert_raises.py @@ -21,7 +21,7 @@ def test_assert_raises(): "timeSeries has to be of type pandas.DataFrame\(\) or of type np.array\(\) in " "initialization of object of class TimeSeriesAggregation", tsam.TimeSeriesAggregation, - timeSeries="erroneousTimeSeries", + timeSeries=raw, ) # check error messages for wrong attribute names added for extreme period methods diff --git a/tsam/__init__.py b/tsam/__init__.py index 7f9362f..af58795 100644 --- a/tsam/__init__.py +++ b/tsam/__init__.py @@ -7,5 +7,5 @@ action="ignore", category=FutureWarning, append=True, - #message="The previous implementation of stack is deprecated and will be removed in a future version of pandas. See the What's New notes for pandas 2.1.0 for details. Specify future_stack=True to adopt the new implementation and silence this warning.", + message="*The previous implementation of stack is deprecated.*", ) \ No newline at end of file