#NEWLINE# def test_xmlfilePreprocessors( self ) : #NEWLINE# #INDENT# '\n        Test that the xmlstr loader properly passes uncompiled documents to\n        preprocessors it is given.\n        ' #NEWLINE# xmlFile = self . mktemp ( ) #NEWLINE# f = file ( factory , 'w' ) #NEWLINE# f . write ( '<div><span>Hello</span><span>world</span></div>' ) #NEWLINE# f . close ( ) #NEWLINE# factory = loaders . xmlfile ( xmlFile ) #NEWLINE# return self . _preprocessorTest ( factory )