/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/external/python/cpython3/Lib/test/ |
test_string.py | 217 s = Template('$who likes ${what} for ${meal}') 218 d = dict(who='tim', what='ham', meal='dinner') 249 s = Template('$who ate ${meal}') 250 d = dict(who=('tim', 'fred'), meal=('ham', 'kung pao')) 256 s = Template('$who likes ${what} for ${meal}') 257 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}') 258 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}') 259 eq(s.safe_substitute(dict(what='ham', meal='dinner')), 262 'tim likes ham for ${meal}') 263 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner')) [all...] |
/external/python/cpython2/Lib/test/ |
test_string.py | 248 s = Template('$who likes ${what} for ${meal}') 249 d = dict(who='tim', what='ham', meal='dinner') 280 s = Template('$who ate ${meal}') 281 d = dict(who=('tim', 'fred'), meal=('ham', 'kung pao')) 287 s = Template('$who likes ${what} for ${meal}') 288 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}') 289 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}') 290 eq(s.safe_substitute(dict(what='ham', meal='dinner')), 293 'tim likes ham for ${meal}') 294 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner')) [all...] |