8000 FIX Use eval [scipy-dev] · thomasjpfan/scikit-learn@225c7ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 225c7ca

Browse files
committed
FIX Use eval [scipy-dev]
1 parent ba1699d commit 225c7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_tools/azure/test_script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ if [[ -n "$CHECK_WARNINGS" ]]; then
4444
TEST_CMD="$TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning -Wignore:tostring:DeprecationWarning"
4545

4646
# Python 3.10 deprecates disutils and is imported by numpy interally during import time
47-
TEST_CMD="$TEST_CMD '-Wignore:The distutils:DeprecationWarning'"
47+
TEST_CMD="$TEST_CMD -Wignore:The\ distutils:DeprecationWarning"
4848
fi
4949

5050
if [[ "$PYTEST_XDIST_VERSION" != "none" ]]; then
5151
TEST_CMD="$TEST_CMD -n2"
5252
fi
5353

5454
set -x
55-
$TEST_CMD --pyargs sklearn
55+
eval "$TEST_CMD --pyargs sklearn"
5656
set +x

0 commit comments

Comments
 (0)
0