summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2013-12-12 16:33:27 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2013-12-12 16:33:27 (GMT)
commit8fda4749e3c4636b38494e4d2302d43a53a64d4f (patch)
treef4f66218faf046c73fc6c09e53e4e3792d6cc8bf
parent1c4b892d71cad83efcafc88ab6c57ebd0d50a633 (diff)
parent0f533acf884f01987bfde9f0cf6dc17c4b9a2f61 (diff)
downloadcpython-8fda4749e3c4636b38494e4d2302d43a53a64d4f.zip
cpython-8fda4749e3c4636b38494e4d2302d43a53a64d4f.tar.gz
cpython-8fda4749e3c4636b38494e4d2302d43a53a64d4f.tar.bz2
Merge fix from 3.3
-rw-r--r--Lib/test/test_decimal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index d67df79..4031347 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -1163,10 +1163,10 @@ class FormatTest(unittest.TestCase):
thousands_sep = locale.localeconv()['thousands_sep']
if decimal_point != '\u066b':
self.skipTest('inappropriate decimal point separator'
- '({!r} not {!r})'.format(decimal_point, '\u066b'))
+ '({!a} not {!a})'.format(decimal_point, '\u066b'))
if thousands_sep != '\u066c':
self.skipTest('inappropriate thousands separator'
- '({!r} not {!r})'.format(thousands_sep, '\u066c'))
+ '({!a} not {!a})'.format(thousands_sep, '\u066c'))
self.assertEqual(format(Decimal('100000000.123'), 'n'),
'100\u066c000\u066c000\u066b123')