From bddf502a1f07d902f0d80aa268d3f1e838474c31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lemburg?= Date: Wed, 14 Jun 2000 09:17:25 +0000 Subject: [PATCH] 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. --- Lib/test/test_unicode.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 237583e8da..7c41534cd8 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 -- 2.40.0