MAINT display top 10 slowest tests with pytest
@@ -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 --durations=1 --pyargs"
+ TEST_CMD="pytest --showlocals --durations=20 --pyargs"
else
TEST_CMD="nosetests --with-timer --timer-top-n 20"
fi
