summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py6
1 files 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')