Skip to content

Commit 9fbd1aa

Browse files
committed
move durations=20 to setup.cfg
1 parent f46b745 commit 9fbd1aa

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ inplace:
2424
$(PYTHON) setup.py build_ext -i
2525

2626
test-code: in
27-
$(PYTEST) --showlocals -v sklearn --durations=20
27+
$(PYTEST) --showlocals -v sklearn
2828
test-sphinxext:
2929
$(PYTEST) --showlocals -v doc/sphinxext/
3030
test-doc:

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ test_script:
8080
# installed library.
8181
- mkdir "../empty_folder"
8282
- cd "../empty_folder"
83-
- pytest --showlocals --durations=20 --pyargs sklearn
83+
- pytest --showlocals --pyargs sklearn
8484
# Move back to the project folder
8585
- cd "../scikit-learn"
8686

build_tools/travis/test_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ except ImportError:
2121
python -c "import multiprocessing as mp; print('%d CPUs' % mp.cpu_count())"
2222

2323
run_tests() {
24-
TEST_CMD="pytest --showlocals --durations=20 --pyargs"
24+
TEST_CMD="pytest --showlocals --pyargs"
2525

2626
# Get into a temp directory to run test from the installed scikit-learn and
2727
# check if we do not leave artifacts

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ test = pytest
77
addopts =
88
--doctest-modules
99
--disable-pytest-warnings
10+
--durations=20
1011
-rs
1112

1213
[wheelhouse_uploader]

0 commit comments

Comments
 (0)