I was setting up a ImportWarning as seemed appropriate but noticed this warning is not reported by default;
How can I set python to report ImportWarning or all warnings?
Here is the import warning i wrote:
try:
from markdown import markdown
except ImportError, err:
warnings.warn(
'Unable to load Pypi package `markdown`, HTML output will be unavailable. {}'.format(err),
ImportWarning
)