diff options
author | thatch <devnull@localhost> | 2009-09-18 17:35:42 -0700 |
---|---|---|
committer | thatch <devnull@localhost> | 2009-09-18 17:35:42 -0700 |
commit | 8ab7060aa657a47dee1301dea740f8efa6837158 (patch) | |
tree | c4781d212146288dd9136af869df73f0fc0195dd /tests/examplefiles/database.pytb | |
parent | 103d45d2fde775e335ed890a177f70dc04ad055f (diff) | |
download | pygments-8ab7060aa657a47dee1301dea740f8efa6837158.tar.gz |
Implement #437, making the Python traceback lexer cope with non-traceback
text. Also make the truncated traceback detection work for either type of
`File...` line.
Diffstat (limited to 'tests/examplefiles/database.pytb')
-rw-r--r-- | tests/examplefiles/database.pytb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/examplefiles/database.pytb b/tests/examplefiles/database.pytb index a3f99114..9138e01b 100644 --- a/tests/examplefiles/database.pytb +++ b/tests/examplefiles/database.pytb @@ -1,3 +1,5 @@ +Text before + Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 314, in dispatch_request dispatcher.dispatch(req) @@ -14,3 +16,5 @@ Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 36, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: database is locked + +Text after |