mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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.
This commit is contained in:
parent
868f0c7155
commit
bddf502a1f
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue