File: use-cldr-44.patch

package info (click to toggle)
python-babel 2.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 1,888 kB
  • sloc: python: 14,521; makefile: 177; javascript: 77; sh: 8
file content (23 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Alexandre Detiste <tchet@debian.org>
Date: Tue, 12 Nov 2024 21:04:18 -0100
Subject: [PATCH] Use CLDR 44 and adjust tests to match older data

CLDR is now at 46.

https://cldr.unicode.org/downloads/cldr-46

Supplemental Data Changes
 - Currency
   - New currency code ZWG added

--- a/tests/test_numbers.py
+++ b/tests/test_numbers.py
@@ -250,7 +250,7 @@
 
     assert list_currencies(locale='pa_Arab') == {'PKR', 'INR', 'EUR'}
 
-    assert len(list_currencies()) == 306
+    assert len(list_currencies()) in (305, 306)
 
 
 def test_validate_currency():