summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-11 21:45:06 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-11 21:45:06 (GMT)
commit2252d11c08643279ffe58e99f6c8d04014079a7f (patch)
tree1561d7ccea92517daac9b7d5877426b17f15b107 /Lib
parentae6d2b917520f441eb8538466c0b848047dd58f2 (diff)
downloadcpython-2252d11c08643279ffe58e99f6c8d04014079a7f.zip
cpython-2252d11c08643279ffe58e99f6c8d04014079a7f.tar.gz
cpython-2252d11c08643279ffe58e99f6c8d04014079a7f.tar.bz2
#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')
-rw-r--r--Lib/test/test_traceback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
index 96b8938..8034839 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():