ACC SHELL
Ñò
p&ÄMc @€ sŽ d d k l Z d d k Z d d k Z e a d e i f d „ ƒ YZ d e i f d „ ƒ YZ
d „ Z d „ Z e
d j o e ƒ n d S(
iÿÿÿÿ( t with_statementNt MyConnectionc B€ s e Z d „ Z RS( c C€ s t a t i i | ƒ d S( N( t Truet did_rollbackt sqlitet
Connectiont rollback( t self( ( s, /usr/lib/python2.6/sqlite3/test/py25tests.pyR s ( t __name__t
__module__R ( ( ( s, /usr/lib/python2.6/sqlite3/test/py25tests.pyR s t ContextTestsc B€ s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C€ s2 t i d d t ƒ| _ | i i d ƒ t a d S( Ns :memory:t factorys create table test(c unique)( R t connectR t cont executet FalseR ( R ( ( s, /usr/lib/python2.6/sqlite3/test/py25tests.pyt setUp% s c C€ s | i i ƒ d S( N( R
t close( R ( ( s, /usr/lib/python2.6/sqlite3/test/py25tests.pyt tearDown+ s c C€ s | i i i ƒ z Wd QXd S( s7 Can the connection be used as a context manager at all?N( R
t __exit__t __enter__( R ( ( s, /usr/lib/python2.6/sqlite3/test/py25tests.pyt CheckContextManager. s c C€ sh | i i i ƒ z | i i d ƒ Wd QX| i i ƒ | i i d ƒ i ƒ d } | i | d ƒ d S( s* Is a commit called in the context manager?s"