@@ -81,7 +81,7 @@ def test_hicensor_rule_trend_test():
8181 # The data effectively becomes ['<10', '<10', '<10', '<10', '<10', '<10']
8282 # This should result in no trend.
8383 result_hicensor = trend_test (x = data , t = t , hicensor = True )
84- assert result_hicensor .trend == 'no trend '
84+ assert result_hicensor .trend == 'indeterminate '
8585 assert 'No Trend' in result_hicensor .classification or 'As Likely as Not' in result_hicensor .classification
8686 assert abs (result_hicensor .s ) <= abs (result_no_hicensor .s )
8787
@@ -118,7 +118,7 @@ def test_hicensor_rule_seasonal_trend_test():
118118 # The hicensor rule correctly weakens the trend to "no trend" in this case,
119119 # as the Mann-Kendall score `s` becomes 1, which results in a z-score of 0
120120 # after the continuity correction.
121- assert result_hicensor .trend == 'no trend '
121+ assert result_hicensor .trend == 'indeterminate '
122122 # 'No Trend' classification is generally gone, replaced by 'As Likely as Not'
123123 assert 'As Likely as Not' in result_hicensor .classification or result_hicensor .classification == 'No Trend'
124124 # The absolute s-score should be less than the original, demonstrating
@@ -161,7 +161,7 @@ def test_hicensor_numeric_seasonal_trend_test():
161161 # The July data [20, 22] has an increasing trend, but the overall
162162 # result is weakened by the tied January data.
163163 result_hicensor_8 = seasonal_trend_test (x = data , t = t , period = 12 , hicensor = 8 )
164- assert result_hicensor_8 .trend == 'no trend '
164+ assert result_hicensor_8 .trend == 'indeterminate '
165165
166166def test_mk_test_method_lwp ():
167167 """Test the 'lwp' method for the Mann-Kendall test."""
0 commit comments