mirror of
https://github.com/python/cpython.git
synced 2026-05-11 07:00:24 -04:00
fix for Bug ID 448100 - "test code using NL instead of CRNL"
This commit is contained in:
+1
-1
@@ -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',)),
|
||||
|
||||
Reference in New Issue
Block a user