[Python-checkins] python/dist/src/Lib/test test_uu.py,1.6,1.6.6.1

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Thu, 31 Jul 2003 12:48:35 -0700


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

Modified Files:
      Tag: release23-branch
	test_uu.py 
Log Message:
Open test file with universal newline read mode. This appears to fix #776202 on MacOS9, but I'm not 100% sure the fix is correct.

Index: test_uu.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_uu.py,v
retrieving revision 1.6
retrieving revision 1.6.6.1
diff -C2 -d -r1.6 -r1.6.6.1
*** test_uu.py	6 May 2003 08:57:41 -0000	1.6
--- test_uu.py	31 Jul 2003 19:48:33 -0000	1.6.6.1
***************
*** 143,147 ****
              f.close()
  
!             f = open(self.tmpout, 'r')
              s = f.read()
              f.close()
--- 143,147 ----
              f.close()
  
!             f = open(self.tmpout, 'rU')
              s = f.read()
              f.close()