Home
last modified time | relevance | path

Searched refs:fix_eols (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/email/
Dbase64mime.py40 from email.utils import fix_eols
96 header = fix_eols(header)
140 s = fix_eols(s)
Dquoprimime.py49 from email.utils import fix_eols
148 header = fix_eols(header)
198 body = fix_eols(body)
Dutils.py75 def fix_eols(s): function
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py2250 eq(utils.fix_eols('hello'), 'hello')
2251 eq(utils.fix_eols('hello\n'), 'hello\r\n')
2252 eq(utils.fix_eols('hello\r'), 'hello\r\n')
2253 eq(utils.fix_eols('hello\r\n'), 'hello\r\n')
2254 eq(utils.fix_eols('hello\n\r'), 'hello\r\n\r\n')
Dtest_email.py2370 eq(Utils.fix_eols('hello'), 'hello')
2371 eq(Utils.fix_eols('hello\n'), 'hello\r\n')
2372 eq(Utils.fix_eols('hello\r'), 'hello\r\n')
2373 eq(Utils.fix_eols('hello\r\n'), 'hello\r\n')
2374 eq(Utils.fix_eols('hello\n\r'), 'hello\r\n\r\n')