Debian Codegraph @

debian/patches/use-cldr-44.patch

raw
1 From: Alexandre Detiste <[email protected]>
2 Date: Tue, 12 Nov 2024 21:04:18 -0100
3 Subject: [PATCH] Use CLDR 44 and adjust tests to match older data
4
5 CLDR is now at 46.
6
7 https://cldr.unicode.org/downloads/cldr-46
8
9 Supplemental Data Changes
10 - Currency
11 - New currency code ZWG added
12
13 --- a/tests/test_numbers.py
14 +++ b/tests/test_numbers.py
15 @@ -250,7 +250,7 @@
16
17 assert list_currencies(locale='pa_Arab') == {'PKR', 'INR', 'EUR'}
18
19 - assert len(list_currencies()) == 306
20 + assert len(list_currencies()) in (305, 306)
21
22
23 def test_validate_currency():