Skip to content

Commit 87ba449

Browse files
committed
Add test for #942
1 parent 3cb2496 commit 87ba449

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_numbers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ def test_get_territory_currencies():
300300

301301
assert numbers.get_territory_currencies('QO', date(2013, 1, 1)) == []
302302

303+
# Croatia uses Euro starting in January 2023; this is in CLDR 42.
304+
# See https://github.com/python-babel/babel/issues/942
305+
assert 'EUR' in numbers.get_territory_currencies('HR', date(2023, 1, 1))
306+
303307

304308
def test_get_decimal_symbol():
305309
assert numbers.get_decimal_symbol('en_US') == '.'

0 commit comments

Comments
 (0)