From: Marc-André Lemburg Date: Wed, 14 Jun 2000 09:17:25 +0000 (+0000) Subject: Marc-Andre Lemburg : X-Git-Tag: v2.0b1~1508 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bddf502a1f07d902f0d80aa268d3f1e838474c31;p=thirdparty%2FPython%2Fcpython.git Marc-Andre Lemburg : Removed a test which can fail when the default locale setting uses a Latin-1 encoding. The test case is not applicable anymore. --- diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 237583e8dadb..7c41534cd83e 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -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