[Python-checkins] python/dist/src/Lib/test test_rfc822.py,1.9,1.9.4.1

bwarsaw@sourceforge.net bwarsaw@sourceforge.net
Thu, 02 May 2002 21:23:04 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv12422/Lib/test

Modified Files:
      Tag: release21-maint
	test_rfc822.py 
Log Message:
Backport patch for revision 1.58 to the Py2.1.x maintenance branch.
This fixes parseaddr() for the following RFC 2822 valid field:

    To: User J. Person <person@dom.ain>


Index: test_rfc822.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_rfc822.py,v
retrieving revision 1.9
retrieving revision 1.9.4.1
diff -C2 -d -r1.9 -r1.9.4.1
*** test_rfc822.py	17 Jan 2001 21:51:36 -0000	1.9
--- test_rfc822.py	3 May 2002 04:23:02 -0000	1.9.4.1
***************
*** 125,126 ****
--- 125,132 ----
  
  foo''', [('', 'guido@[132.151.1.21]')])
+ 
+ test('''To: User J. Person <person@dom.ain>
+ 
+ foo''', [('User J. Person', 'person@dom.ain')])
+ 
+