[Python-checkins] CVS: python/dist/src/Lib/test test_string.py,1.6,1.7 test_unicode.py,1.2,1.3

Barry A. Warsaw python-dev@python.org
Mon, 20 Mar 2000 11:36:33 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib/test
In directory anthem:/home/bwarsaw/projects/python/Lib/test

Modified Files:
	test_string.py test_unicode.py 
Log Message:
On 17-Mar-2000, Marc-Andre Lemburg said:

    Attached you find an update of the Unicode implementation.

    The patch is against the current CVS version. I would appreciate
    if someone with CVS checkin permissions could check the changes
    in.

    The patch contains all bugs and patches sent this week and also
    fixes a leak in the codecs code and a bug in the free list code
    for Unicode objects (which only shows up when compiling Python
    with Py_DEBUG; thanks to MarkH for spotting this one).


Index: test_string.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/test/test_string.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** test_string.py	2000/03/10 23:23:20	1.6
--- test_string.py	2000/03/20 16:36:30	1.7
***************
*** 144,147 ****
--- 144,148 ----
  
  test('replace', 'one!two!three!', 'one@two!three!', '!', '@', 1)
+ test('replace', 'one!two!three!', 'onetwothree', '!', '')
  test('replace', 'one!two!three!', 'one@two@three!', '!', '@', 2)
  test('replace', 'one!two!three!', 'one@two@three@', '!', '@', 3)

Index: test_unicode.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/test/test_unicode.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_unicode.py	2000/03/13 23:21:48	1.2
--- test_unicode.py	2000/03/20 16:36:31	1.3
***************
*** 109,112 ****
--- 109,113 ----
  
  test('replace', u'one!two!three!', u'one@two!three!', u'!', u'@', 1)
+ test('replace', u'one!two!three!', u'onetwothree', '!', '')
  test('replace', u'one!two!three!', u'one@two@three!', u'!', u'@', 2)
  test('replace', u'one!two!three!', u'one@two@three@', u'!', u'@', 3)