#NEWLINE# def test_no_ext( self , space , tmpdir ) : #NEWLINE# #INDENT# f = tmpdir . join ( 't.rb' ) #NEWLINE# f . write ( '\n        def t(a, b)\n          a - b\n        end\n        ' ) #NEWLINE# w_res = space . execute ( ( "\n        require '%s'\n\n        return t(12, 21)\n        " % str ( f ) [ : ( - 3 ) ] ) ) #NEWLINE# assert ( space . int_w ( w_res ) == ( - 9 ) )