Skip to content

Commit 66f8588

Browse files
committed
CLN: rename parameter object to self
1 parent 68b1da7 commit 66f8588

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
140140
invgrep -R --include="*.py" --include="*.pyx" -E "(DEPRECATED|DEPRECATE|Deprecated)(:|,|\.)" pandas
141141
RET=$(($RET + $?)) ; echo $MSG "DONE"
142142

143-
MSG='Check for old-style classes' ; echo $MSG
144-
invgrep -R --include="*.py" -E "class\s\S*[^)]:" pandas scripts
145-
RET=$(($RET + $?)) ; echo $MSG "DONE"
146-
147143
MSG='Check for backticks incorrectly rendering because of missing spaces' ; echo $MSG
148144
invgrep -R --include="*.rst" -E "[a-zA-Z0-9]\`\`?[a-zA-Z0-9]" doc/source/
149145
RET=$(($RET + $?)) ; echo $MSG "DONE"

pandas/tests/arrays/categorical/test_warnings.py

Lines changed: 3 additions & 3 deletions
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)