Skip to content

Commit

Permalink
MAINT report slow tests when using pytest (scikit-learn#9198)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Jun 22, 2017
1 parent 41e129f commit 5d03f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tools/travis/test_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python -c "import multiprocessing as mp; print('%d CPUs' % mp.cpu_count())"

run_tests() {
if [[ "$USE_PYTEST" == "true" ]]; then
TEST_CMD="pytest --showlocals --pyargs"
TEST_CMD="pytest --showlocals --durations=1 --pyargs"
else
TEST_CMD="nosetests --with-timer --timer-top-n 20"
fi
Expand Down

0 comments on commit 5d03f08

Please sign in to comment.