1313# TODO(CoW) - detection of chained assignment in cython
1414# https://github.com/pandas-dev/pandas/issues/51315
1515@pytest .mark .filterwarnings ("ignore::pandas.errors.ChainedAssignmentError" )
16- @pytest .mark .filterwarnings ("ignore:ChainedAssignmentError:FutureWarning" )
1716@pytest .mark .parametrize ("path_klass" , [lambda p : p , Path ])
1817def test_spss_labelled_num (path_klass , datapath ):
1918 # test file from the Haven project (https://haven.tidyverse.org/)
@@ -31,7 +30,6 @@ def test_spss_labelled_num(path_klass, datapath):
3130
3231
3332@pytest .mark .filterwarnings ("ignore::pandas.errors.ChainedAssignmentError" )
34- @pytest .mark .filterwarnings ("ignore:ChainedAssignmentError:FutureWarning" )
3533def test_spss_labelled_num_na (datapath ):
3634 # test file from the Haven project (https://haven.tidyverse.org/)
3735 # Licence at LICENSES/HAVEN_LICENSE, LICENSES/HAVEN_MIT
@@ -48,7 +46,6 @@ def test_spss_labelled_num_na(datapath):
4846
4947
5048@pytest .mark .filterwarnings ("ignore::pandas.errors.ChainedAssignmentError" )
51- @pytest .mark .filterwarnings ("ignore:ChainedAssignmentError:FutureWarning" )
5249def test_spss_labelled_str (datapath ):
5350 # test file from the Haven project (https://haven.tidyverse.org/)
5451 # Licence at LICENSES/HAVEN_LICENSE, LICENSES/HAVEN_MIT
@@ -65,7 +62,6 @@ def test_spss_labelled_str(datapath):
6562
6663
6764@pytest .mark .filterwarnings ("ignore::pandas.errors.ChainedAssignmentError" )
68- @pytest .mark .filterwarnings ("ignore:ChainedAssignmentError:FutureWarning" )
6965def test_spss_kwargs (datapath ):
7066 # test file from the Haven project (https://haven.tidyverse.org/)
7167 # Licence at LICENSES/HAVEN_LICENSE, LICENSES/HAVEN_MIT
@@ -81,7 +77,6 @@ def test_spss_kwargs(datapath):
8177
8278
8379@pytest .mark .filterwarnings ("ignore::pandas.errors.ChainedAssignmentError" )
84- @pytest .mark .filterwarnings ("ignore:ChainedAssignmentError:FutureWarning" )
8580def test_spss_umlauts (datapath ):
8681 # test file from the Haven project (https://haven.tidyverse.org/)
8782 # Licence at LICENSES/HAVEN_LICENSE, LICENSES/HAVEN_MIT
@@ -140,7 +135,6 @@ def test_invalid_dtype_backend():
140135
141136
142137@pytest .mark .filterwarnings ("ignore::pandas.errors.ChainedAssignmentError" )
143- @pytest .mark .filterwarnings ("ignore:ChainedAssignmentError:FutureWarning" )
144138def test_spss_metadata (datapath ):
145139 # GH 54264
146140 fname = datapath ("io" , "data" , "spss" , "labelled-num.sav" )
0 commit comments