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
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"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments