summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-07 22:33:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-06-07 22:33:09 (GMT)
commiteabdeba25e804bb8fb4d1ca13dd6f008763145d4 (patch)
treee84f5705d4313e64aa61e10e96874b3bcc5333a9 /Lib
parent7dbe3e31c1a90cceba337f45f647e324e7d41d09 (diff)
downloadcpython-eabdeba25e804bb8fb4d1ca13dd6f008763145d4.zip
cpython-eabdeba25e804bb8fb4d1ca13dd6f008763145d4.tar.gz
cpython-eabdeba25e804bb8fb4d1ca13dd6f008763145d4.tar.bz2
use unicode literals
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_unicode.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index b3b24de..8d52492 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -1282,9 +1282,9 @@ class UnicodeTest(
self.assertRaises(IndexError, u"{:}".format)
self.assertRaises(IndexError, u"{:s}".format)
self.assertRaises(IndexError, 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])