Module Import alias Import alias alias Import alias identifier FunctionDef arguments args defaults body Return Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad handlers ExceptHandler type NameLoad body Pass Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num Num body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass ExceptHandler body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num Num body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Pass ExceptHandler body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A sys N/A os unittest N/A pysqlite2.dbapi2 sqlite get_db_path N/A N/A N/A N/A N/A sqlite_testdb N/A TransactionTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A N/A os remove N/A get_db_path N/A N/A N/A OSError N/A N/A N/A N/A self con1 N/A N/A sqlite connect N/A get_db_path timeout 0.1 N/A N/A self cur1 N/A N/A N/A self con1 cursor N/A N/A self con2 N/A N/A sqlite connect N/A get_db_path timeout 0.1 N/A N/A self cur2 N/A N/A N/A self con2 cursor N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self cur1 close N/A N/A N/A N/A self con1 close N/A N/A N/A N/A self cur2 close N/A N/A N/A N/A self con2 close N/A N/A N/A N/A N/A os unlink N/A get_db_path N/A N/A N/A OSError N/A N/A N/A CheckDMLdoesAutoCommitBefore N/A N/A self N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A self cur1 execute create table test2(j) N/A N/A N/A N/A self cur2 execute select i from test N/A res N/A N/A N/A self cur2 fetchall N/A N/A N/A self assertEqual N/A len res 1 N/A CheckInsertStartsTransaction N/A N/A self N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A self cur2 execute select i from test N/A res N/A N/A N/A self cur2 fetchall N/A N/A N/A self assertEqual N/A len res 0 N/A CheckUpdateStartsTransaction N/A N/A self N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A self con1 commit N/A N/A N/A N/A self cur1 execute update test set i=6 N/A N/A N/A N/A self cur2 execute select i from test N/A res N/A N/A N/A N/A self cur2 fetchone N/A 0 N/A N/A N/A self assertEqual res 5 N/A CheckDeleteStartsTransaction N/A N/A self N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A self con1 commit N/A N/A N/A N/A self cur1 execute delete from test N/A N/A N/A N/A self cur2 execute select i from test N/A res N/A N/A N/A self cur2 fetchall N/A N/A N/A self assertEqual N/A len res 1 N/A CheckReplaceStartsTransaction N/A N/A self N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A self con1 commit N/A N/A N/A N/A self cur1 execute replace into test(i) values (6) N/A N/A N/A N/A self cur2 execute select i from test N/A res N/A N/A N/A self cur2 fetchall N/A N/A N/A self assertEqual N/A len res 1 N/A N/A N/A self assertEqual N/A N/A res N/A 0 N/A 0 5 N/A CheckToggleAutoCommit N/A N/A self N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A self con1 isolation_level None N/A N/A N/A self assertEqual N/A N/A self con1 isolation_level None N/A N/A N/A N/A self cur2 execute select i from test N/A res N/A N/A N/A self cur2 fetchall N/A N/A N/A self assertEqual N/A len res 1 N/A N/A N/A self con1 isolation_level DEFERRED N/A N/A N/A self assertEqual N/A N/A self con1 isolation_level DEFERRED N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A self cur2 execute select i from test N/A res N/A N/A N/A self cur2 fetchall N/A N/A N/A self assertEqual N/A len res 1 N/A CheckRaiseTimeout N/A N/A self N/A N/A N/A N/A N/A sqlite sqlite_version_info N/A 3 2 2 N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A N/A N/A self cur2 execute insert into test(i) values (5) N/A N/A N/A self fail should have raised an OperationalError N/A N/A N/A N/A sqlite OperationalError N/A N/A N/A N/A N/A N/A N/A self fail should have raised an OperationalError N/A CheckLocking N/A N/A self N/A N/A N/A 
        This tests the improved concurrency with pysqlite 2.3.4. You needed
        to roll back con2 before you could commit con1.
         N/A N/A N/A sqlite sqlite_version_info N/A 3 2 2 N/A N/A N/A N/A N/A N/A self cur1 execute create table test(i) N/A N/A N/A N/A self cur1 execute insert into test(i) values (5) N/A N/A N/A N/A N/A N/A self cur2 execute insert into test(i) values (5) N/A N/A N/A self fail should have raised an OperationalError N/A N/A N/A N/A sqlite OperationalError N/A N/A N/A N/A N/A N/A N/A self fail should have raised an OperationalError N/A N/A N/A N/A self con1 commit N/A CheckRollbackCursorConsistency N/A N/A self N/A N/A N/A 
        Checks if cursors on the connection are set into a "reset" state
        when a rollback is done on the connection.
         N/A con N/A N/A sqlite connect :memory: N/A cur N/A N/A con cursor N/A N/A N/A cur execute create table test(x) N/A N/A N/A cur execute insert into test(x) values (5) N/A N/A N/A cur execute select 1 union select 2 union select 3 N/A N/A N/A con rollback N/A N/A N/A N/A N/A cur fetchall N/A N/A N/A self fail InterfaceError should have been raised N/A N/A N/A N/A sqlite InterfaceError N/A e N/A N/A N/A N/A N/A N/A N/A self fail InterfaceError should have been raised N/A N/A SpecialCommandTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self con N/A N/A sqlite connect :memory: N/A N/A self cur N/A N/A N/A self con cursor N/A CheckVacuum N/A N/A self N/A N/A N/A N/A N/A N/A self cur execute create table test(i) N/A N/A N/A N/A self cur execute insert into test(i) values (5) N/A N/A N/A N/A self cur execute vacuum N/A CheckDropTable N/A N/A self N/A N/A N/A N/A N/A N/A self cur execute create table test(i) N/A N/A N/A N/A self cur execute insert into test(i) values (5) N/A N/A N/A N/A self cur execute drop table test N/A CheckPragma N/A N/A self N/A N/A N/A N/A N/A N/A self cur execute create table test(i) N/A N/A N/A N/A self cur execute insert into test(i) values (5) N/A N/A N/A N/A self cur execute pragma count_changes=1 N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self cur close N/A N/A N/A N/A self con close N/A N/A suite N/A N/A N/A N/A N/A default_suite N/A N/A unittest makeSuite TransactionTests Check N/A special_command_suite N/A N/A unittest makeSuite SpecialCommandTests Check N/A N/A N/A unittest TestSuite N/A default_suite special_command_suite N/A test N/A N/A N/A N/A N/A runner N/A N/A unittest TextTestRunner N/A N/A N/A runner run N/A suite N/A N/A N/A __name__ __main__ N/A N/A N/A test