summaryrefslogtreecommitdiff
path: root/babel/tests
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@gmail.com>2007-06-08 12:41:00 +0000
committerChristopher Lenz <cmlenz@gmail.com>2007-06-08 12:41:00 +0000
commit0a8c6b773567790dd94f02e058d43293c88d48e4 (patch)
treeb1e8696a12bdf1a1a92b225b0119ca6fcce6d885 /babel/tests
parent3cb388c1f42af79bc1cfbbd6478a03cd5bbc7c99 (diff)
downloadbabel-0a8c6b773567790dd94f02e058d43293c88d48e4.tar.gz
The order of extraction methods is now preserved (see #10).
Diffstat (limited to 'babel/tests')
-rw-r--r--babel/tests/numbers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/babel/tests/numbers.py b/babel/tests/numbers.py
index 917f8db..e18975d 100644
--- a/babel/tests/numbers.py
+++ b/babel/tests/numbers.py
@@ -26,14 +26,14 @@ class FormatDecimalTestCase(unittest.TestCase):
locale='en_US'), '(12,345)')
def test_default_rounding(self):
- """Testing Round-Half-Even (Banker's rounding)
+ """
+ Testing Round-Half-Even (Banker's rounding)
A '5' is rounded to the closest 'even' number
"""
self.assertEqual(numbers.format_decimal(5.5, '0', locale='sv'), '6')
self.assertEqual(numbers.format_decimal(6.5, '0', locale='sv'), '6')
self.assertEqual(numbers.format_decimal(1.2325, locale='sv'), '1,232')
- self.assertEqual(numbers.format_decimal(1.2325, locale='sv'), '1,232')
self.assertEqual(numbers.format_decimal(1.2335, locale='sv'), '1,234')