HomeSort by relevance Sort by last modified time
    Searched refs:meal (Results 1 - 2 of 2) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pep292.py 31 s = Template('$who likes ${what} for ${meal}')
32 d = dict(who='tim', what='ham', meal='dinner')
63 s = Template('$who ate ${meal}')
64 d = dict(who=('tim', 'fred'), meal=('ham', 'kung pao'))
70 s = Template('$who likes ${what} for ${meal}')
71 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}')
72 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}')
73 eq(s.safe_substitute(dict(what='ham', meal='dinner')),
76 'tim likes ham for ${meal}')
77 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner'))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pep292.py 31 s = Template('$who likes ${what} for ${meal}')
32 d = dict(who='tim', what='ham', meal='dinner')
63 s = Template('$who ate ${meal}')
64 d = dict(who=('tim', 'fred'), meal=('ham', 'kung pao'))
70 s = Template('$who likes ${what} for ${meal}')
71 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}')
72 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}')
73 eq(s.safe_substitute(dict(what='ham', meal='dinner')),
76 'tim likes ham for ${meal}')
77 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner'))
    [all...]

Completed in 84 milliseconds