summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unicode.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-05-17 22:35:28 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-05-17 22:35:28 (GMT)
commit48953632dfd3e78c4eee8be907a0b7900f46fa8c (patch)
tree43622878bddb1236d96180862cedeea72eaa6b9b /Lib/test/test_unicode.py
parent3e269397e39d2d60a1b74c338a7d321852d71b85 (diff)
parentd2b58a9880d119b20e1fc1c82a3e2e2d9eaa0817 (diff)
downloadcpython-48953632dfd3e78c4eee8be907a0b7900f46fa8c.zip
cpython-48953632dfd3e78c4eee8be907a0b7900f46fa8c.tar.gz
cpython-48953632dfd3e78c4eee8be907a0b7900f46fa8c.tar.bz2
merge 3.3
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r--Lib/test/test_unicode.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index 6a646a0..6680f74 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -943,6 +943,8 @@ class UnicodeTest(string_tests.CommonTest,
self.assertEqual("{0:.0s}".format("ABC\u0410\u0411\u0412"),
'')
+ self.assertEqual("{[{}]}".format({"{}": 5}), "5")
+
def test_format_map(self):
self.assertEqual(''.format_map({}), '')
self.assertEqual('a'.format_map({}), 'a')