#NEWLINE# def _check_expression( self , doc , expected , domain = None ) : #NEWLINE# #INDENT# domain = ( domain or self . domain_name ) #NEWLINE# self . assertEqual ( expected , self . expression ( expected , context = EvaluationContext ( { #NEWLINE# #INDENT# 'domain' : domain , #NEWLINE# #UNINDENT# } , 0 ) ) )