diff --git a/conftest.py b/conftest.py index 3261c2f..d953efd 100644 --- a/conftest.py +++ b/conftest.py @@ -1 +1,4 @@ -collect_ignore = ['fabfile.py'] +collect_ignore = [ + 'fabfile.py', + 'jaraco/site/projecthoneypot/croakysteel.py', +] diff --git a/pytest.ini b/pytest.ini index 283f55a..83f1f66 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,7 +1,6 @@ [pytest] norecursedirs=dist build .tox .eggs -# disable doctests due to pytest-dev/pytest#3396 -# addopts=--doctest-modules +addopts=--doctest-modules --import-mode=importlib doctest_optionflags=ALLOW_UNICODE ELLIPSIS filterwarnings= # Ensure ResourceWarnings are emitted