diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-15 20:13:28 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-18 16:23:10 -0800 |
commit | 6978918ffc14b0b096285adfa0c90f95de281efa (patch) | |
tree | a7ba01358ee56c41853c488dc5808818f08e79c6 /tests/test_domain_cpp.py | |
parent | 4405366e223246045fb2ca465a8a3ebac1feb0e8 (diff) | |
download | sphinx-git-6978918ffc14b0b096285adfa0c90f95de281efa.tar.gz |
Replace use of six.text_type with str
This removes the last use of the six package allowing Sphinx to remove
it as a dependency.
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) |