summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-02-27 23:56:57 +0900
committerGitHub <noreply@github.com>2019-02-27 23:56:57 +0900
commit4b9bf440ff177dfddef7ca5429b56750e1d30446 (patch)
tree8c6b55c5f8832c4450ffaa77ecdf4612daeb1c07 /tests/test_domain_cpp.py
parent832c81a2caceb7741ecc27200aeb8cda6f065419 (diff)
parentec307996172bfe23d46dfacdb0bbaf1caf7412c5 (diff)
downloadsphinx-git-4b9bf440ff177dfddef7ca5429b56750e1d30446.tar.gz
Merge pull request #6112 from tk0miya/5351_revert
Revert "C++, conditionally disable test on sys.maxunicode"
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')