diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-11 21:45:06 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-11 21:45:06 +0000 |
commit | 2252d11c08643279ffe58e99f6c8d04014079a7f (patch) | |
tree | 1561d7ccea92517daac9b7d5877426b17f15b107 /Lib/test | |
parent | ae6d2b917520f441eb8538466c0b848047dd58f2 (diff) | |
download | cpython-git-2252d11c08643279ffe58e99f6c8d04014079a7f.tar.gz |
#3342: In tracebacks, printed source lines were not indented since r62555.
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_traceback.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py index 96b8938d36..8034839499 100644 --- a/Lib/test/test_traceback.py +++ b/Lib/test/test_traceback.py @@ -177,7 +177,7 @@ class TracebackFormatTests(unittest.TestCase): banner, location, source_line = tb_lines self.assert_(banner.startswith('Traceback')) self.assert_(location.startswith(' File')) - self.assert_(source_line.startswith('raise')) + self.assert_(source_line.startswith(' raise')) def test_main(): |