A plugin for testing Cython extension modules.
Maintained. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and security practices.
pip install pytest-cythonOverview
This pytest plugin allows for the doctesting of C/C++ extension modules for Python created through cython.
Installation
You can install pytest-cython via pip from PyPI:
pip install pytest-cython
Usage
Basic usage:
pytest --doctest-cython
You can also run the doctests for a single .pyx file as such: