We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9821b77 commit cbffba1Copy full SHA for cbffba1
ci/code_checks.sh
@@ -119,6 +119,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
119
invgrep -r -E --include '*.py' 'pytest\.warns' pandas/tests/
120
RET=$(($RET + $?)) ; echo $MSG "DONE"
121
122
+ MSG='Check for pytest raises without context' ; echo $MSG
123
+ invgrep -r -E --include '*.py' "[[:space:]] pytest.raises" pandas/tests/
124
+ RET=$(($RET + $?)) ; echo $MSG "DONE"
125
+
126
# Check for the following code in testing: `np.testing` and `np.array_equal`
127
MSG='Check for invalid testing' ; echo $MSG
128
invgrep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
0 commit comments