mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Updated test with a case which checks for the bug reported in
This commit is contained in:
parent
de49583a0d
commit
b96d80201c
1 changed files with 1 additions and 0 deletions
|
@ -341,6 +341,7 @@ assert '...%(foo)s...' % {u'foo':u"abc"} == u'...abc...'
|
|||
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...%s...%s...%s...%s...' % (1,2,3,u"abc") == u'...%...%s...1...2...3...abc...'
|
||||
assert '...%s...' % u"abc" == u'...abc...'
|
||||
print 'done.'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue