From eb5834cf3e8cddfa77c4a8fd5d1ee5cc450bd8f9 Mon Sep 17 00:00:00 2001 From: Foo Date: Sun, 6 Aug 2017 02:59:10 +0300 Subject: [PATCH] Move version I do not actually see this character in diff of EastAsianWidth.txt though, but it appears that test with 5.1.0 uses 2 and succeeds, tests with 6.0.0 and 8.0.0 use 1 and succeed, but test with 5.2.0 uses 2 and fails. --- tests/test_python/test_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_python/test_lib.py b/tests/test_python/test_lib.py index f7b47858..bef5901c 100644 --- a/tests/test_python/test_lib.py +++ b/tests/test_python/test_lib.py @@ -434,7 +434,7 @@ unidata_version = tuple(( int(c) for c in unicodedata.unidata_version.split('.'))) U1F48E_WIDTH = ( - 1 if unidata_version >= (6,) else 2 + 1 if unidata_version >= (5, 2) else 2 )