Skip to content

Commit 872a23b

Browse files
topper-123WillAyd
authored andcommitted
CLN: rename parameter object to self (#26129)
1 parent 06843a8 commit 872a23b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/arrays/categorical/test_warnings.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ def test_tab_complete_warning(self, ip):
1818
with provisionalcompleter('ignore'):
1919
list(ip.Completer.completions('c.', 1))
2020

21-
def test_CategoricalAccessor_categorical_deprecation(object):
21+
def test_CategoricalAccessor_categorical_deprecation(self):
2222
with tm.assert_produces_warning(FutureWarning):
2323
pd.Series(['a', 'b'], dtype='category').cat.categorical
2424

25-
def test_CategoricalAccessor_name_deprecation(object):
25+
def test_CategoricalAccessor_name_deprecation(self):
2626
with tm.assert_produces_warning(FutureWarning):
2727
pd.Series(['a', 'b'], dtype='category').cat.name
2828

29-
def test_CategoricalAccessor_index_deprecation(object):
29+
def test_CategoricalAccessor_index_deprecation(self):
3030
with tm.assert_produces_warning(FutureWarning):
3131
pd.Series(['a', 'b'], dtype='category').cat.index

0 commit comments

Comments
 (0)