From eb1e60287732ede6040ce6f7498c10909448d248 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 1 Oct 2018 15:31:50 +0200 Subject: [PATCH] [test] Try import unicodedata2 as unicodedata --- test/shaping/hb_test_tools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/shaping/hb_test_tools.py b/test/shaping/hb_test_tools.py index 8348dc269..c9a44033b 100644 --- a/test/shaping/hb_test_tools.py +++ b/test/shaping/hb_test_tools.py @@ -4,6 +4,10 @@ from __future__ import print_function, division, absolute_import import sys, os, re, difflib, unicodedata, errno, cgi from itertools import * +try: + import unicodedata2 as unicodedata +except Exception: + pass diff_symbols = "-+=*&^%$#@!~/" diff_colors = ['red', 'green', 'blue']