How to get Nose to run doctests from my Markdown documentation?

Skip Montanaro skip.montanaro at gmail.com
Wed Sep 20 12:15:13 EDT 2017


> Actually, I semi-lied. It seems to pick up the second of two examples,
> and gets a bit confused about leading whitespace. I think I need to do
> some more fiddling.

Solved the whitespace issue with the +NORMALIZE_WHITESPACE flag. It
turns out that it actually does run all examples in the document. They
are just concatenated into one big "test".

Skip



More information about the Python-list mailing list