Louie Lu added the comment: This is because unittest.TestCase method `shortDescription()` will only return the first line of docstring, writing at here*:
""" The default implementation of this method returns the first line of the test method’s docstring, if available, or None. """ Not sure if we may change this default behavior for this. * https://docs.python.org/3/library/unittest.html#unittest.TestCase.shortDescription ---------- nosy: +louielu _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30181> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com