[Python-checkins] CVS: python/dist/src/Lib/test/output test_unicode,1.11,1.12

M.-A. Lemburg lemburg@users.sourceforge.net
Thu, 20 Sep 2001 10:23:00 -0700

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

Modified Files:
Log Message:
Fix Unicode .join() method to raise a TypeError for sequence
elements which are not Unicode objects or strings. (This matches
the string.join() behaviour.)

Fix a memory leak in the .join() method which occurs in case
the Unicode resize fails.

Restore the test_unicode output.

Index: test_unicode
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_unicode,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** test_unicode	2001/09/20 16:37:23	1.11
--- test_unicode	2001/09/20 17:22:58	1.12
*** 1,4 ****
- * <built-in method join of unicode object at 0x81b3ba0> u' ' <class exceptions.TypeError at 0x80fac4c> u'7 hello 123'
  Testing Unicode comparisons... done.
  Testing Unicode contains method... done.
--- 1,3 ----