mirror of https://github.com/python/cpython
fix for Bug ID 448100 - "test code using NL instead of CRNL"
This commit is contained in:
parent
f213ccb5d1
commit
e02f904cbf
|
@ -1136,7 +1136,7 @@ if __name__ == '__main__':
|
|||
USER = getpass.getuser()
|
||||
PASSWD = getpass.getpass("IMAP password for %s on %s: " % (USER, host or "localhost"))
|
||||
|
||||
test_mesg = 'From: %s@localhost\nSubject: IMAP4 test\n\ndata...\n' % USER
|
||||
test_mesg = 'From: %(user)s@localhost%(lf)sSubject: IMAP4 test%(lf)s%(lf)sdata...%(lf)s' % {'user':USER, 'lf':CRLF}
|
||||
test_seq1 = (
|
||||
('login', (USER, PASSWD)),
|
||||
('create', ('/tmp/xxx 1',)),
|
||||
|
|
Loading…
Reference in New Issue