#NEWLINE# def test_class_exported( self ) : #NEWLINE# #INDENT# nodes = list ( MakeBuilder ( 'class DLLEXPORT Foo {};' ) . generate ( ) ) #NEWLINE# self . assertEqual ( 1 , len ( nodes ) , repr ( nodes ) ) #NEWLINE# self . assertEqual ( Class ( 'Foo' , body = [ ] ) , nodes [ 0 ] )