Skip to content

Commit 624be60

Browse files
cleanup
1 parent b77f396 commit 624be60

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

pandas/_libs/src/frame_utils.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ int is_local_in_caller_frame_impl(PyObject *object) {
3030
}
3131

3232
int result = 0;
33-
Py_ssize_t pos = 0;
3433
PyObject *values = PyMapping_Values(locals_dict);
3534
if (values == NULL) {
3635
Py_DECREF(locals_dict);

pandas/tests/io/test_spss.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
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])
1817
def 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")
3533
def 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")
5249
def 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")
6965
def 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")
8580
def 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")
144138
def test_spss_metadata(datapath):
145139
# GH 54264
146140
fname = datapath("io", "data", "spss", "labelled-num.sav")

0 commit comments

Comments
 (0)