From aee2255c68aca89179e66f429a2d9a184a0a8272 Mon Sep 17 00:00:00 2001 From: tp Date: Thu, 18 Apr 2019 01:19:01 +0100 Subject: [PATCH] CLN: rename parameter object to self --- pandas/tests/arrays/categorical/test_warnings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/tests/arrays/categorical/test_warnings.py b/pandas/tests/arrays/categorical/test_warnings.py index 23d00585f950e..4a37d5097648f 100644 --- a/pandas/tests/arrays/categorical/test_warnings.py +++ b/pandas/tests/arrays/categorical/test_warnings.py @@ -18,14 +18,14 @@ def test_tab_complete_warning(self, ip): with provisionalcompleter('ignore'): list(ip.Completer.completions('c.', 1)) - def test_CategoricalAccessor_categorical_deprecation(object): + def test_CategoricalAccessor_categorical_deprecation(self): with tm.assert_produces_warning(FutureWarning): pd.Series(['a', 'b'], dtype='category').cat.categorical - def test_CategoricalAccessor_name_deprecation(object): + def test_CategoricalAccessor_name_deprecation(self): with tm.assert_produces_warning(FutureWarning): pd.Series(['a', 'b'], dtype='category').cat.name - def test_CategoricalAccessor_index_deprecation(object): + def test_CategoricalAccessor_index_deprecation(self): with tm.assert_produces_warning(FutureWarning): pd.Series(['a', 'b'], dtype='category').cat.index