File tree 3 files changed +2
-5
lines changed
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ if [[ "$COVERAGE" == "true" ]]; then
51
51
fi
52
52
53
53
if [[ -n " $CHECK_WARNINGS " ]]; then
54
- TEST_CMD=" $TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning"
54
+ TEST_CMD=" $TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning -Werror::numpy.VisibleDeprecationWarning "
55
55
56
56
# numpy's 1.19.0's tostring() deprecation is ignored until scipy and joblib
57
57
# removes its usage
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if [[ $TRAVIS_CPU_ARCH == arm64 ]]; then
33
33
fi
34
34
35
35
if [[ -n $CHECK_WARNINGS ]]; then
36
- TEST_CMD=" $TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning"
36
+ TEST_CMD=" $TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning -Werror::numpy.VisibleDeprecationWarning "
37
37
fi
38
38
39
39
$TEST_CMD sklearn
Original file line number Diff line number Diff line change @@ -510,9 +510,6 @@ def test_pairwise_distances_radius_neighbors(
510
510
neigh_indices_ref .append (ind )
511
511
neigh_distances_ref .append (dist )
512
512
513
- neigh_indices_ref = np .array (neigh_indices_ref )
514
- neigh_distances_ref = np .array (neigh_distances_ref )
515
-
516
513
neigh_distances , neigh_indices = PairwiseDistancesRadiusNeighborhood .compute (
517
514
X ,
518
515
Y ,
You can’t perform that action at this time.
0 commit comments