kuroko/test/testExceptionTracebacks.krk.expect
K. Lange f38a451f19 Attach and build upon partial tracebacks
If an exception is raised within a 'try', attach a traceback only up
until that 'try'. If a re-raised exception has a traceback already,
attach the new traceback "above" the existing one.
2022-07-03 20:39:07 +09:00

6 lines
223 B
Plaintext

Caught a TypeError('A type error')
File 'test/testExceptionTracebacks.krk', line 4, in doTheThing
Caught a ValueError('A value error')
File 'test/testExceptionTracebacks.krk', line 4, in doTheThing
That's a name error!