diff options
author | Marc-André Lemburg <mal@egenix.com> | 2000-06-14 09:17:25 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2000-06-14 09:17:25 (GMT) |
commit | bddf502a1f07d902f0d80aa268d3f1e838474c31 (patch) | |
tree | fe57743c8cba6b56005fb14c8c736c789da2c318 /Lib/test | |
parent | 868f0c7155f17b037d96ad3f204686b2650a2365 (diff) | |
download | cpython-bddf502a1f07d902f0d80aa268d3f1e838474c31.zip cpython-bddf502a1f07d902f0d80aa268d3f1e838474c31.tar.gz cpython-bddf502a1f07d902f0d80aa268d3f1e838474c31.tar.bz2 |
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.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_unicode.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 237583e..7c41534 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 |