#NEWLINE# def test_bad_rename_schema( self ) : #NEWLINE# #INDENT# 'Error renaming a non-existing schema' #NEWLINE# inmap = self . std_map ( ) #NEWLINE# inmap . update ( { #NEWLINE# #INDENT# 'schema s2' : { #NEWLINE# #INDENT# 'oldname' : 's3' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# with pytest . raises ( KeyError ) : #NEWLINE# #INDENT# self . to_sql ( self , [ CREATE_STMT ] )