File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
pandas/tests/arrays/categorical Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -140,10 +140,6 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
140
140
invgrep -R --include=" *.py" --include=" *.pyx" -E " (DEPRECATED|DEPRECATE|Deprecated)(:|,|\.)" pandas
141
141
RET=$(( $RET + $? )) ; echo $MSG " DONE"
142
142
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
-
147
143
MSG=' Check for backticks incorrectly rendering because of missing spaces' ; echo $MSG
148
144
invgrep -R --include=" *.rst" -E " [a-zA-Z0-9]\`\` ?[a-zA-Z0-9]" doc/source/
149
145
RET=$(( $RET + $? )) ; echo $MSG " DONE"
Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ def test_tab_complete_warning(self, ip):
18
18
with provisionalcompleter ('ignore' ):
19
19
list (ip .Completer .completions ('c.' , 1 ))
20
20
21
- def test_CategoricalAccessor_categorical_deprecation (object ):
21
+ def test_CategoricalAccessor_categorical_deprecation (self ):
22
22
with tm .assert_produces_warning (FutureWarning ):
23
23
pd .Series (['a' , 'b' ], dtype = 'category' ).cat .categorical
24
24
25
- def test_CategoricalAccessor_name_deprecation (object ):
25
+ def test_CategoricalAccessor_name_deprecation (self ):
26
26
with tm .assert_produces_warning (FutureWarning ):
27
27
pd .Series (['a' , 'b' ], dtype = 'category' ).cat .name
28
28
29
- def test_CategoricalAccessor_index_deprecation (object ):
29
+ def test_CategoricalAccessor_index_deprecation (self ):
30
30
with tm .assert_produces_warning (FutureWarning ):
31
31
pd .Series (['a' , 'b' ], dtype = 'category' ).cat .index
You can’t perform that action at this time.
0 commit comments