[Python-checkins] CVS: python/dist/src/Lib/test test_unicode.py,1.13,1.14
M.-A. Lemburg
python-dev@python.org
Wed, 14 Jun 2000 02:17:27 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3463/Lib/test
Modified Files:
test_unicode.py
Log Message:
Marc-Andre Lemburg <mal@lemburg.com>:
Removed a test which can fail when the default locale setting
uses a Latin-1 encoding. The test case is not applicable anymore.
Index: test_unicode.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_unicode.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** test_unicode.py 2000/06/13 12:05:36 1.13
--- test_unicode.py 2000/06/14 09:17:25 1.14
***************
*** 273,282 ****
assert '...%s...%s...%s...%s...' % (1,2,3,u"abc") == u'...1...2...3...abc...'
assert '...%s...' % u"abc" == u'...abc...'
- try:
- '...%s...äöü...' % u"abc"
- except ValueError:
- pass
- else:
- print "*** formatting failed ...%s...äöü...' % u'abc' failed to raise an exception"
print 'done.'
--- 273,276 ----