Test code from RST documents with pytest
pytest-rst run python tests in ReStructuredText
Code block must have :name: attribute starts with test_.
This block will running as a pytest test-case:
.. code-block:: python :name: test_first assert True
This block just not running:
.. code-block:: python # not a test assert False
# not a test assert False
This software follows Semantic Versioning
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.