Skip to content

Commit

Permalink
MAINT: do not collect any tests in externals.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve committed Jan 18, 2018
1 parent de9d05f commit cc50b90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.cfg
Expand Up @@ -7,7 +7,6 @@ test = pytest
addopts =
--doctest-modules
--disable-pytest-warnings
--ignore sklearn/externals

[wheelhouse_uploader]
artifact_indexes=
Expand Down
7 changes: 7 additions & 0 deletions sklearn/externals/conftest.py
@@ -0,0 +1,7 @@
# Do not collect any tests in externals. This is more robust than using
# --ignore because --ignore needs a path and it is not convenient to pass in
# the externals path (very long install-dependent path in site-packages) when
# using --pyargs
def pytest_ignore_collect(path, config):
return True

0 comments on commit cc50b90

Please sign in to comment.