From 8f0a4d67143ccdef0b5a6ac99fb9b680c3a2f69c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 23 Apr 2015 14:32:33 -0700 Subject: [PATCH] [test] Ignor 'n' and 'i' in hb-unicode-encode Allows accepting uniXXXX format. --- test/shaping/hb_test_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shaping/hb_test_tools.py b/test/shaping/hb_test_tools.py index 4e76d411a..ba4a8bb7b 100644 --- a/test/shaping/hb_test_tools.py +++ b/test/shaping/hb_test_tools.py @@ -414,7 +414,7 @@ class Unicode: @staticmethod def parse (s): s = re.sub (r"0[xX]", " ", s) - s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s) + s = re.sub (r"[<+>,;&#\\xXuUnNiI\n ]", " ", s) return [int (x, 16) for x in s.split ()] @staticmethod