diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-05-17 22:35:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-05-17 22:35:28 (GMT) |
commit | 48953632dfd3e78c4eee8be907a0b7900f46fa8c (patch) | |
tree | 43622878bddb1236d96180862cedeea72eaa6b9b /Lib/test/test_unicode.py | |
parent | 3e269397e39d2d60a1b74c338a7d321852d71b85 (diff) | |
parent | d2b58a9880d119b20e1fc1c82a3e2e2d9eaa0817 (diff) | |
download | cpython-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.py | 2 |
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') |