if optionflags & doctest.ELLIPSIS:
    want = sub('\\[\\.\\.\\.\\]', '...', want)
return OC.check_output(self, want, got, optionflags)
doctest.OutputChecker = AEOutputChecker
doctest.testmod()
Can I have an ellipsis at the beginning of the line in a Python doctest?