File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,13 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
150
150
# Check for imports from pandas._testing instead of `import pandas._testing as tm`
151
151
invgrep -R --include=" *.py*" -E " from pandas._testing import" pandas/tests
152
152
RET=$(( $RET + $? )) ; echo $MSG " DONE"
153
- invgrep -R --include=" *.py*" -E " from pandas.util import testing as tm" pandas/tests
153
+ invgrep -R --include=" *.py*" -E " from pandas import _testing as tm" pandas/tests
154
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
155
+
156
+ # No direct imports from conftest
157
+ invgrep -R --include=" *.py*" -E " conftest import" pandas/tests
158
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
159
+ invgrep -R --include=" *.py*" -E " import conftest" pandas/tests
154
160
RET=$(( $RET + $? )) ; echo $MSG " DONE"
155
161
156
162
MSG=' Check for use of exec' ; echo $MSG
You can’t perform that action at this time.
0 commit comments