(self)
| 3403 | s.format()) |
| 3404 | |
| 3405 | def test_from_list_edited_stack(self): |
| 3406 | s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')]) |
| 3407 | s[0] = ('foo.py', 2, 'fred', 'line') |
| 3408 | s2 = traceback.StackSummary.from_list(s) |
| 3409 | self.assertEqual( |
| 3410 | [' File "foo.py", line 2, in fred\n line\n'], |
| 3411 | s2.format()) |
| 3412 | |
| 3413 | def test_format_smoke(self): |
| 3414 | # For detailed tests see the format_list tests, which consume the same |
nothing calls this directly
no test coverage detected