From c3812f131ba2d498b3a71d36bca9186946cfaac4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 29 Apr 2014 08:46:16 +0530 Subject: [PATCH] ICU 53 no longer return the same collation order for numbers whose value is different even if they have the same first digit. --- src/calibre/utils/icu_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/utils/icu_test.py b/src/calibre/utils/icu_test.py index 2b6572c35f..99441520e9 100644 --- a/src/calibre/utils/icu_test.py +++ b/src/calibre/utils/icu_test.py @@ -116,13 +116,12 @@ class TestICU(unittest.TestCase): for group in [ ('Šaa', 'Smith', 'Solženicyn', 'Štepánek'), ('01', '1'), - ('1', '11', '13'), ]: last = None for x in group: order, length = icu.numeric_collator().collation_order(x) if last is not None: - self.ae(last, order) + self.ae(last, order, 'Order for %s not correct: %s != %s' % (x, last, order)) last = order self.ae(dict(icu.partition_by_first_letter(['A1', '', 'a1', '\U0001f431', '\U0001f431x'])),