Lines Matching refs:what
210 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
217 d = dict(who='tim', what='ham', meal='dinner')
220 dict(who='tim', what='ham'))
235 eq(s.substitute(dict(who='tim', what='ham')),
238 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
267 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}')
268 eq(s.safe_substitute(dict(what='ham', meal='dinner')),
270 eq(s.safe_substitute(dict(who='tim', what='ham')),
272 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner')),
297 m.bag.what = 'ham'
345 m.bag.what = 'ham'
417 d = dict(who='t\xffm', what='f\xfe\fed')
423 eq(s.substitute(who='tim', what='ham'), 'tim likes ham')
424 eq(s.substitute(dict(who='tim'), what='ham'), 'tim likes ham')
425 eq(s.substitute(dict(who='fred', what='kung pao'),
426 who='tim', what='ham'),
441 eq(s.safe_substitute(who='tim', what='ham'), 'tim likes ham')
442 eq(s.safe_substitute(dict(who='tim'), what='ham'), 'tim likes ham')
443 eq(s.safe_substitute(dict(who='fred', what='kung pao'),
444 who='tim', what='ham'),
475 self.assertEqual(s.substitute(dict(who='tim', what='ham')),