'test that the initial context counts
as \'enclosing\' scope, for plain defs'

def test_scope_six(self):

    t = Template('\n\n                                <%def    name="a()">\n                                                a:    x    is    ${x}\n                                </%def>\n\n                                <%def    name="b()">\n                                                <%\n                                                                x    =    10\n                                                %>\n                                                b.    x    is    ${x}.        ${a()}\n                                </%def>\n\n                                ${b()}\n                ')
    eq_(flatten_result(t.render(x=5)), 'b.    x    is    10.    a:    x    is    5')
