Home
last modified time | relevance | path

Searched refs:formataddr (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dutils.py85 def formataddr(pair): function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/
Dtest_email_renamed.py2178 self.assertEqual(utils.formataddr(utils.parseaddr('<>')), '')
2182 utils.formataddr(('A Silly Person', 'person@dom.ain')),
2187 utils.formataddr(('A (Very) Silly Person', 'person@dom.ain')),
2191 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b))
2195 utils.formataddr(('Arthur \Backslash\ Foobar', 'person@dom.ain')),
2199 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b))
2208 self.assertEqual(utils.formataddr((a, b)), y)
2218 utils.formataddr(('A Silly; Person', 'person@dom.ain')),
Dtest_email.py2280 self.assertEqual(Utils.formataddr(Utils.parseaddr('<>')), '')
2284 Utils.formataddr(('A Silly Person', 'person@dom.ain')),
2289 Utils.formataddr(('A (Very) Silly Person', 'person@dom.ain')),
2293 self.assertEqual(Utils.parseaddr(Utils.formataddr((a, b))), (a, b))
2297 Utils.formataddr(('Arthur \Backslash\ Foobar', 'person@dom.ain')),
2301 self.assertEqual(Utils.parseaddr(Utils.formataddr((a, b))), (a, b))
2310 self.assertEqual(Utils.formataddr((a, b)), y)
2338 Utils.formataddr(('A Silly; Person', 'person@dom.ain')),