#NEWLINE# def _fixture_teardown( self ) : #NEWLINE# #INDENT# if ( not connections_support_transactions ( ) ) : #NEWLINE# #INDENT# return super ( TestCase , self ) . _fixture_teardown ( ) #NEWLINE# #UNINDENT# restore_transaction_methods ( ) #NEWLINE# for db in self . _databases_names ( ) : #NEWLINE# #INDENT# transaction . rollback ( using = db ) #NEWLINE# transaction . leave_transaction_management ( using = self )