diff options
| author | Mark Shannon <mark@hotpy.org> | 2022-04-21 15:10:37 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-21 15:10:37 (GMT) |
| commit | 944fffee8916cb94321fa33cd3a43f4108717746 (patch) | |
| tree | f88202dd13021ad5cf4b260ecf05ebab6015a5f6 /Lib/test/test_traceback.py | |
| parent | 2a5f171759a31597032cfe52646929e6f8727243 (diff) | |
| download | cpython-944fffee8916cb94321fa33cd3a43f4108717746.zip cpython-944fffee8916cb94321fa33cd3a43f4108717746.tar.gz cpython-944fffee8916cb94321fa33cd3a43f4108717746.tar.bz2 | |
GH-88116: Use a compact format to represent end line and column offsets. (GH-91666)
* Stores all location info in linetable to conform to PEP 626.
* Remove column table from code objects.
* Remove end-line table from code objects.
* Document new location table format
Diffstat (limited to 'Lib/test/test_traceback.py')
| -rw-r--r-- | Lib/test/test_traceback.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py index 962322c..ed5ddf9 100644 --- a/Lib/test/test_traceback.py +++ b/Lib/test/test_traceback.py @@ -615,6 +615,7 @@ class TracebackErrorLocationCaretTests(unittest.TestCase): ' ^^^^^^^^^^\n' f' File "{TESTFN}", line {lineno_f}, in <module>\n' f' {source}\n' + f' {"^"*len(source)}\n' ) self.assertEqual(result_lines, expected_error.splitlines()) |
