File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,17 @@ if [[ "$COVERAGE" == "true" ]]; then
44
44
fi
45
45
46
46
if [[ -n " $CHECK_WARNINGS " ]]; then
47
- # numpy's 1.19.0's tostring() deprecation is ignored until scipy and joblib removes its usage
48
- TEST_CMD=" $TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning -Wignore:tostring:DeprecationWarning"
47
+ TEST_CMD=" $TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning"
48
+
49
+ # numpy's 1.19.0's tostring() deprecation is ignored until scipy and joblib
50
+ # removes its usage
51
+ TEST_CMD=" $TEST_CMD -Wignore:tostring:DeprecationWarning"
49
52
50
53
# Python 3.10 deprecates distutils, which is imported by numpy internally
51
54
TEST_CMD=" $TEST_CMD -Wignore:The\ distutils:DeprecationWarning"
55
+
56
+ # Ignore distutils deprecation warning, used by joblib internally
57
+ TEST_CMD=" $TEST_CMD -Wignore:distutils\ Version\ classes\ are\ deprecated:DeprecationWarning"
52
58
fi
53
59
54
60
if [[ " $PYTEST_XDIST_VERSION " != " none" ]]; then
You can’t perform that action at this time.
0 commit comments