@@ -905,7 +905,7 @@ def test_cmov_window_na_min_periods(self):
905
905
906
906
def test_cmov_window_regular (self ):
907
907
# GH 8238
908
- tm .skip_if_no_package ( 'scipy' , max_version = '0.19.0' )
908
+ tm ._skip_if_no_scipy ( )
909
909
910
910
win_types = ['triang' , 'blackman' , 'hamming' , 'bartlett' , 'bohman' ,
911
911
'blackmanharris' , 'nuttall' , 'barthann' ]
@@ -938,7 +938,7 @@ def test_cmov_window_regular(self):
938
938
939
939
def test_cmov_window_regular_linear_range (self ):
940
940
# GH 8238
941
- tm .skip_if_no_package ( 'scipy' , max_version = '0.19.0' )
941
+ tm ._skip_if_no_scipy ( )
942
942
943
943
win_types = ['triang' , 'blackman' , 'hamming' , 'bartlett' , 'bohman' ,
944
944
'blackmanharris' , 'nuttall' , 'barthann' ]
@@ -955,7 +955,7 @@ def test_cmov_window_regular_linear_range(self):
955
955
956
956
def test_cmov_window_regular_missing_data (self ):
957
957
# GH 8238
958
- tm .skip_if_no_package ( 'scipy' , max_version = '0.19.0' )
958
+ tm ._skip_if_no_scipy ( )
959
959
960
960
win_types = ['triang' , 'blackman' , 'hamming' , 'bartlett' , 'bohman' ,
961
961
'blackmanharris' , 'nuttall' , 'barthann' ]
@@ -988,7 +988,7 @@ def test_cmov_window_regular_missing_data(self):
988
988
989
989
def test_cmov_window_special (self ):
990
990
# GH 8238
991
- tm .skip_if_no_package ( 'scipy' , max_version = '0.19.0' )
991
+ tm ._skip_if_no_scipy ( )
992
992
993
993
win_types = ['kaiser' , 'gaussian' , 'general_gaussian' , 'slepian' ]
994
994
kwds = [{'beta' : 1. }, {'std' : 1. }, {'power' : 2. ,
@@ -1015,7 +1015,7 @@ def test_cmov_window_special(self):
1015
1015
1016
1016
def test_cmov_window_special_linear_range (self ):
1017
1017
# GH 8238
1018
- tm .skip_if_no_package ( 'scipy' , max_version = '0.19.0' )
1018
+ tm ._skip_if_no_scipy ( )
1019
1019
1020
1020
win_types = ['kaiser' , 'gaussian' , 'general_gaussian' , 'slepian' ]
1021
1021
kwds = [{'beta' : 1. }, {'std' : 1. }, {'power' : 2. ,
0 commit comments