diff options
author | Aarni Koskela <akx@iki.fi> | 2019-12-31 10:02:04 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2019-12-31 10:54:50 +0200 |
commit | d4a7c266ba119ee8564a14575a60948f723a15cb (patch) | |
tree | 3f8b1a58f291ac2310bc227fe70ddf85136961e4 | |
parent | fab99b8924ad37e9f04798f464f37e2359ebafeb (diff) | |
download | babel-cldr-36.tar.gz |
Correct format_unit test based on new Welsh datacldr-36
-rw-r--r-- | babel/units.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/babel/units.py b/babel/units.py index e58bf81..89c4913 100644 --- a/babel/units.py +++ b/babel/units.py @@ -88,12 +88,12 @@ def format_unit(value, measurement_unit, length='long', format=None, locale=LC_N >>> format_unit(1, 'length-meter', locale='ro_RO') u'1 metru' - >>> format_unit(0, 'length-picometer', locale='cy') - u'0 picometr' - >>> format_unit(2, 'length-picometer', locale='cy') - u'2 bicometr' - >>> format_unit(3, 'length-picometer', locale='cy') - u'3 phicometr' + >>> format_unit(0, 'length-mile', locale='cy') + u'0 mi' + >>> format_unit(1, 'length-mile', locale='cy') + u'1 filltir' + >>> format_unit(3, 'length-mile', locale='cy') + u'3 milltir' >>> format_unit(15, 'length-horse', locale='fi') Traceback (most recent call last): |