Imported Upstream version 0.9.40
[platform/upstream/harfbuzz.git] / test / shaping / hb_test_tools.py
index 7674fdf..a370e5e 100644 (file)
@@ -411,7 +411,7 @@ class Unicode:
        def parse (s):
                s = re.sub (r"0[xX]", " ", s)
                s = re.sub (r"[<+>,;&#\\xXuU\n  ]", " ", s)
-               return [int (x, 16) for x in s.split (' ') if len (x)]
+               return [int (x, 16) for x in s.split ()]
 
        @staticmethod
        def encode (s):