gdal icon indicating copy to clipboard operation
gdal copied to clipboard

autotest: set up Python docstring testing

Open dbaston opened this issue 1 year ago • 0 comments

Feature description

pytest can be used to invoke the examples in our docstrings: https://docs.pytest.org/en/7.1.x/how-to/doctest.html

This could be a useful way to make sure the examples run as expected.

Additional context

No response

dbaston avatar May 16 '24 14:05 dbaston