Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_traceback.py @ 47933:4f804ee772eb legacy-trunk
#3342: In tracebacks, printed source lines were not indented since r62555.
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> |
|---|---|
| date | Fri, 11 Jul 2008 21:45:06 +0000 |
| parents | 4e47548edd36 |
| children | fb80b281e05a |
line wrap: on
line diff
--- a/Lib/test/test_traceback.py Fri Jul 11 21:28:25 2008 +0000 +++ b/Lib/test/test_traceback.py Fri Jul 11 21:45:06 2008 +0000 @@ -177,7 +177,7 @@ 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():
