mirror of https://github.com/python/cpython
Merged revisions 81825 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81825 | benjamin.peterson | 2010-06-07 17:33:09 -0500 (Mon, 07 Jun 2010) | 1 line use unicode literals ........
This commit is contained in:
parent
c971913f84
commit
eacc8737be
|
@ -1103,9 +1103,9 @@ class UnicodeTest(
|
|||
self.assertRaises(ValueError, u"{:}".format)
|
||||
self.assertRaises(ValueError, u"{:s}".format)
|
||||
self.assertRaises(ValueError, u"{}".format)
|
||||
big = "23098475029384702983476098230754973209482573"
|
||||
self.assertRaises(ValueError, ("{" + big + "}").format)
|
||||
self.assertRaises(ValueError, ("{[" + big + "]}").format, [0])
|
||||
big = u"23098475029384702983476098230754973209482573"
|
||||
self.assertRaises(ValueError, (u"{" + big + u"}").format)
|
||||
self.assertRaises(ValueError, (u"{[" + big + u"]}").format, [0])
|
||||
|
||||
# issue 6089
|
||||
self.assertRaises(ValueError, u"{0[0]x}".format, [None])
|
||||
|
|
Loading…
Reference in New Issue