From ec307996172bfe23d46dfacdb0bbaf1caf7412c5 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Wed, 27 Feb 2019 23:29:17 +0900 Subject: [PATCH] Revert "C++, conditionally disable test on sys.maxunicode" This reverts commit 2a544b4ec3bce0bd6c11d7fda8df5a04013eca1f. --- tests/test_domain_cpp.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index 4d7d3e592..0cd3445a5 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -9,7 +9,6 @@ """ import re -import sys import pytest @@ -152,9 +151,8 @@ def test_expressions(): exprCheck(p + "'\\x0A'", t + "10") exprCheck(p + "'\\u0a42'", t + "2626") exprCheck(p + "'\\u0A42'", t + "2626") - if sys.maxunicode > 65535: - exprCheck(p + "'\\U0001f34c'", t + "127820") - exprCheck(p + "'\\U0001F34C'", t + "127820") + exprCheck(p + "'\\U0001f34c'", t + "127820") + exprCheck(p + "'\\U0001F34C'", t + "127820") # TODO: user-defined lit exprCheck('(... + Ns)', '(... + Ns)', id4='flpl2Ns')