python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

Add Code Examples in Docstrings to CI Workflows

Open Kleinjohann opened this issue 5 years ago • 1 comments

While implementing #800 I noticed some examples in function docstrings were not changed when the API of those functions changed. Currently examples in docstrings seem not to be tested at all. Maybe there's a way to add them to the CI workflows? Any thoughts?

Kleinjohann avatar Apr 02 '20 16:04 Kleinjohann

The doctest library could be used for this.

I don't think this is a high priority, but we'd be happy to have someone work on this.

apdavison avatar Jun 06 '25 14:06 apdavison