#NEWLINE# def test_util_from_n3_expectliteralandlangdtype( self ) : #NEWLINE# #INDENT# s = '"michel"@fr^^xsd:fr' #NEWLINE# res = util . from_n3 ( s , default = None , backend = None ) #NEWLINE# self . assert_ ( isinstance ( res , Literal ) ) #NEWLINE# self . assertEqual ( res , Literal ( 'michel' , datatype = XSD [ 'fr' ] ) )