Skip to content

Commit 8d85be3

Browse files
committed
Revert "UPD: check for numpy.random-related imports"
This reverts commit e1dee07.
1 parent 3f6223d commit 8d85be3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,6 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
197197
invgrep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
198198
RET=$(($RET + $?)) ; echo $MSG "DONE"
199199

200-
# GH37053, Check for np.random.<method> instead of `from numpy.random import` or `from numpy import random`
201-
MSG='Check for numpy.random-related imports' ; echo $MSG
202-
invgrep -R --include="*.py" -E "(from numpy.random import)|(from numpy import random)" pandas
203-
RET=$(($RET + $?)) ; echo $MSG "DONE"
204-
205200
# Check for the following code in the extension array base tests: `tm.assert_frame_equal` and `tm.assert_series_equal`
206201
MSG='Check for invalid EA testing' ; echo $MSG
207202
invgrep -r -E --include '*.py' --exclude base.py 'tm.assert_(series|frame)_equal' pandas/tests/extension/base

0 commit comments

Comments
 (0)