[issue45615] Missing test for type of error when printing traceback for non-exception

Nikita Sobolev report at bugs.python.org
Fri Nov 5 08:29:08 EDT 2021


Nikita Sobolev <mail at sobolevn.me> added the comment:

Thanks!

пт, 5 нояб. 2021 г. в 12:47, Irit Katriel <report at bugs.python.org>:

>
> Irit Katriel <iritkatriel at gmail.com> added the comment:
>
> It's been merged now, so go ahead.
>
> Note that there are two traceback printing functions - in the interpreter
> in traceback.c and in the library in traceback.py. They are expected to
> work the same as much as possible.
>
> If you add a test to BaseExceptionReportingTests, it will test both
> versions (see the PyExcReportingTests and PyExcReportingTests subclasses).
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue45615>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45615>
_______________________________________


More information about the Python-bugs-list mailing list