diff options
author | cocodrips <cocodrips@gmail.com> | 2018-12-26 11:31:44 +0900 |
---|---|---|
committer | cocodrips <cocodrips@gmail.com> | 2018-12-26 11:31:50 +0900 |
commit | 827059be93426b83afd2fc7d823c48681e5f913a (patch) | |
tree | ec1893e5cf77acbb79d736ea3f841dc864781740 /tests/test_domain_cpp.py | |
parent | 448181d9f97611d352c0c8ec21e55e8242db9d60 (diff) | |
parent | 99a7dca2160996e3189dfcc2176bbbbac531d5f3 (diff) | |
download | sphinx-git-827059be93426b83afd2fc7d823c48681e5f913a.tar.gz |
Merge remote-tracking branch 'upstream/master' into 5842-apidoc-extensions
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r-- | tests/test_domain_cpp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index ab9cf9be2..6da91df82 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -12,7 +12,6 @@ import re import sys import pytest -from six import text_type import sphinx.domains.cpp as cppDomain from sphinx import addnodes @@ -39,7 +38,7 @@ def check(name, input, idDict, output=None): if output is None: output = input ast = parse(name, input) - res = text_type(ast) + res = str(ast) if res != output: print("") print("Input: ", input) |