Browse code

use that runner.tracebacks is a list of tuples

Bas Nijholt authored on 17/04/2020 10:48:41
Showing 1 changed files
... ...
@@ -297,12 +297,12 @@ raise the exception with the stack trace:
297 297
     runner.task.result()
298 298
 
299 299
 
300
-You can also check ``runner.tracebacks`` which is a mapping from
301
-point → traceback.
300
+You can also check ``runner.tracebacks`` which is a list of tuples with
301
+(point, traceback).
302 302
 
303 303
 .. jupyter-execute::
304 304
 
305
-    for point, tb in runner.tracebacks.items():
305
+    for point, tb in runner.tracebacks:
306 306
         print(f'point: {point}:\n {tb}')
307 307
 
308 308
 Logging runners