Originally reported byThomas Lotze (Bitbucket: tlotze, GitHub: tlotze)
According to the help output, the annotate command should ignore errors when reading source files if the -i option is specified. However, it doesn't do so for me when it fails reading a doctest file, but simply stops creating annotations at that points. The report command, however, does ignore the same error if given -i.
Sorry about the delay... here it is: The problem doesn't occur with a doc-test file that is being run by doctest's basic API (such as doctest.testfile('readme.txt')). It does, however, occur when using the unittest API: