#NEWLINE# def run_nullary_func( self , pyfunc , flags ) : #NEWLINE# #INDENT# '\n        Compile the 0-argument *pyfunc* with the given *flags*, and check\n        it returns the same result as the pure Python function.\n        The got and expected results are returned.\n        ' #NEWLINE# cr = compile_isolated ( pyfunc , ( ) , flags = flags ) #NEWLINE# cfunc = cr . entry_point #NEWLINE# expected = pyfunc ( ) #NEWLINE# got = cfunc ( ) #NEWLINE# self . assertPreciseEqual ( got , expected ) #NEWLINE# return ( got , expected )