summaryrefslogtreecommitdiff
path: root/tests/examplefiles/database.pytb
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
committerGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
commitfc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad (patch)
tree2a06d2fac7321452513bda7739e297a7e9848ec4 /tests/examplefiles/database.pytb
downloadpygments-git-fc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad.tar.gz
merge default into stable
Diffstat (limited to 'tests/examplefiles/database.pytb')
-rw-r--r--tests/examplefiles/database.pytb20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/examplefiles/database.pytb b/tests/examplefiles/database.pytb
new file mode 100644
index 00000000..9138e01b
--- /dev/null
+++ b/tests/examplefiles/database.pytb
@@ -0,0 +1,20 @@
+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)
+ File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 186, in dispatch
+ req.session = Session(self.env, req)
+ File "/usr/lib/python2.3/site-packages/trac/web/session.py", line 52, in __init__
+ self.promote_session(sid)
+ File "/usr/lib/python2.3/site-packages/trac/web/session.py", line 125, in promote_session
+ "AND authenticated=0", (sid,))
+ File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 47, in execute
+ return self.cursor.execute(sql_escape_percent(sql), args)
+ File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 44, in execute
+ args or [])
+ 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