[Python-checkins] CVS: python/dist/src/Lib/test test_unicode.py,1.20,1.21
M.-A. Lemburg
python-dev@python.org
Sat, 7 Oct 2000 01:52:49 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30093/Lib/test
Modified Files:
test_unicode.py
Log Message:
Updated test with a case which checks for the bug reported in
Index: test_unicode.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_unicode.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** test_unicode.py 2000/08/08 08:03:46 1.20
--- test_unicode.py 2000/10/07 08:52:45 1.21
***************
*** 342,345 ****
--- 342,346 ----
assert '...%(foo)s...' % {u'foo':u"abc",u'def':123} == u'...abc...'
assert '...%s...%s...%s...%s...' % (1,2,3,u"abc") == u'...1...2...3...abc...'
+ assert '...%%...%%s...%s...%s...%s...%s...' % (1,2,3,u"abc") == u'...%...%s...1...2...3...abc...'
assert '...%s...' % u"abc" == u'...abc...'
print 'done.'