summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorPiers Lauder <piers@cs.su.oz.au>2001-08-05 10:43:03 (GMT)
committerPiers Lauder <piers@cs.su.oz.au>2001-08-05 10:43:03 (GMT)
commite02f904cbfd12e5d89b71bc65ed76d5828cb4e83 (patch)
tree829cd206c44201ed867b801732293a29e1289717 /Lib/imaplib.py
parentf213ccb5d181e0b66327336cac80e813439edc32 (diff)
downloadcpython-e02f904cbfd12e5d89b71bc65ed76d5828cb4e83.zip
cpython-e02f904cbfd12e5d89b71bc65ed76d5828cb4e83.tar.gz
cpython-e02f904cbfd12e5d89b71bc65ed76d5828cb4e83.tar.bz2
fix for Bug ID 448100 - "test code using NL instead of CRNL"
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index f7b08a6..7c28d03 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -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',)),