File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ inplace:
24
24
$(PYTHON ) setup.py build_ext -i
25
25
26
26
test-code : in
27
- $(PYTEST ) --showlocals -v sklearn --durations=20
27
+ $(PYTEST ) --showlocals -v sklearn
28
28
test-sphinxext :
29
29
$(PYTEST ) --showlocals -v doc/sphinxext/
30
30
test-doc :
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ test_script:
80
80
# installed library.
81
81
- mkdir "../empty_folder"
82
82
- cd "../empty_folder"
83
- - pytest --showlocals --durations=20 -- pyargs sklearn
83
+ - pytest --showlocals --pyargs sklearn
84
84
# Move back to the project folder
85
85
- cd "../scikit-learn"
86
86
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ except ImportError:
21
21
python -c " import multiprocessing as mp; print('%d CPUs' % mp.cpu_count())"
22
22
23
23
run_tests () {
24
- TEST_CMD=" pytest --showlocals --durations=20 -- pyargs"
24
+ TEST_CMD=" pytest --showlocals --pyargs"
25
25
26
26
# Get into a temp directory to run test from the installed scikit-learn and
27
27
# check if we do not leave artifacts
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ test = pytest
7
7
addopts =
8
8
--doctest-modules
9
9
--disable-pytest-warnings
10
+ --durations =20
10
11
-rs
11
12
12
13
[wheelhouse_uploader]
You can’t perform that action at this time.
0 commit comments