Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bddf502

Browse files
committed
Marc-Andre Lemburg <[email protected]>:
Removed a test which can fail when the default locale setting uses a Latin-1 encoding. The test case is not applicable anymore.
1 parent 868f0c7 commit bddf502

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Lib/test/test_unicode.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,6 @@ def __init__(self): self.seq = [7, u'hello', 123L]
272272
assert '...%(foo)s...' % {u'foo':u"abc",u'def':123} == u'...abc...'
273273
assert '...%s...%s...%s...%s...' % (1,2,3,u"abc") == u'...1...2...3...abc...'
274274
assert '...%s...' % u"abc" == u'...abc...'
275-
try:
276-
'...%s...äöü...' % u"abc"
277-
except ValueError:
278-
pass
279-
else:
280-
print "*** formatting failed ...%s...äöü...' % u'abc' failed to raise an exception"
281275
print 'done.'
282276

283277
# Test builtin codecs

0 commit comments

Comments
 (0)