New issue 502: py.test --doctest-modules doesn't skip setup.py https://bitbucket.org/hpk42/pytest/issue/502/pytest-doctest-modules-doesnt-skip-setuppy
offbyone: If I have the following path layout: /setup.py /package_name/ /package_name/__init__.py I expect `--doctest-modules` not to read in setup.py. I can control it with conftest.py, but that seems a bit iffy. A better way might be to (IF the project is a setuptools package) take advantage of the setuptools project declaration to find the set of modules under test there. In any case, `setup.py` should be skipped. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit