This is an example of how to skip a test:
Now we're telling doctest to skip a test >>> 'This test would fail.' # doctest: +SKIP If it were allowed to run.
The skip directive transformed what would have been a test, into plain text(as far as doctest is concerned). Doctest never ran the test, and in fact never counted it as a test at all.
There are several situations where skipping a test ...