New issue 758: Doctests https://bitbucket.org/pytest-dev/pytest/issue/758/doctests
Holger Peters: Pytest has support for doctests using ``--doctest-module`` and ``--doctest-glob`` flags. For a sphinx documentation, there are environments to write more complex doctests, including setup and teardown functionality, as sphinx has documented here http://sphinx-doc.org/ext/doctest.html It seems that pytest does not handle these, unfortunately for projects that use these contexts and would like to move all their testing to pytest. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit