8000 Go to TMP_DIR to use existing .coverage file · scikit-learn/scikit-learn@66e95c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66e95c8

Browse files
committed
Go to TMP_DIR to use existing .coverage file
1 parent 613ebf5 commit 66e95c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build_tools/travis/test_script.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,8 @@ if [[ "$CHECK_PYTEST_SOFT_DEPENDENCY" == "true" ]]; then
6868
else
6969
CMD="python"
7070
fi
71-
$CMD sklearn/utils/tests/test_estimator_checks.py
71+
# .coverage from running the tests is in TMP_DIR
72+
cd $TMP_DIR
73+
$CMD -m sklearn.utils.tests.test_estimator_checks
74+
cd $OLDPWD
7275
fi

0 commit comments

Comments
 (0)
0