@@ -43,10 +43,6 @@ class TestMoments(Base):
4343
4444 def setUp (self ):
4545 self ._create_data ()
46- warnings .simplefilter ("ignore" , category = FutureWarning )
47-
48- def tearDown (self ):
49- warnings .simplefilter ("default" , category = FutureWarning )
5046
5147 def test_centered_axis_validation (self ):
5248 # ok
@@ -890,7 +886,6 @@ def _create_data(self):
890886
891887 def setUp (self ):
892888 self ._create_data ()
893- warnings .simplefilter ("ignore" , category = FutureWarning )
894889
895890 def _test_moments_consistency (self ,
896891 min_periods ,
@@ -1516,9 +1511,6 @@ def test_rolling_functions_window_non_shrinkage(self):
15161511
15171512 functions = [lambda x : mom .rolling_cov (x , x , pairwise = True , window = 10 , min_periods = 5 ),
15181513 lambda x : mom .rolling_corr (x , x , pairwise = True , window = 10 , min_periods = 5 ),
1519- # rolling_corr_pairwise is depracated, so the following line should be deleted
1520- # when rolling_corr_pairwise is removed.
1521- lambda x : mom .rolling_corr_pairwise (x , x , window = 10 , min_periods = 5 ),
15221514 ]
15231515 for f in functions :
15241516 df_result_panel = f (df )
@@ -1585,9 +1577,6 @@ def test_moment_functions_zero_length(self):
15851577 lambda x : mom .expanding_corr (x , x , pairwise = True , min_periods = 5 ),
15861578 lambda x : mom .rolling_cov (x , x , pairwise = True , window = 10 , min_periods = 5 ),
15871579 lambda x : mom .rolling_corr (x , x , pairwise = True , window = 10 , min_periods = 5 ),
1588- # rolling_corr_pairwise is depracated, so the following line should be deleted
1589- # when rolling_corr_pairwise is removed.
1590- lambda x : mom .rolling_corr_pairwise (x , x , window = 10 , min_periods = 5 ),
15911580 ]
15921581 for f in functions :
15931582 df1_result_panel = f (df1 )
0 commit comments