]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Marc-Andre Lemburg <mal@lemburg.com>:
authorMarc-André Lemburg <mal@egenix.com>
Wed, 14 Jun 2000 09:17:25 +0000 (09:17 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Wed, 14 Jun 2000 09:17:25 +0000 (09:17 +0000)
Removed a test which can fail when the default locale setting
uses a Latin-1 encoding. The test case is not applicable anymore.

Lib/test/test_unicode.py

index 237583e8dadbbf22207e3b7d0fd2cd072bf5b914..7c41534cd83ed8f69f0bd9ca19405978fa682921 100644 (file)
@@ -272,12 +272,6 @@ assert '...%(foo)s...' % {u'foo':u"abc",'def':123} ==  u'...abc...'
 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...' % 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.'
 
 # Test builtin codecs