summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-15 20:13:28 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2018-12-18 16:23:10 -0800
commit6978918ffc14b0b096285adfa0c90f95de281efa (patch)
treea7ba01358ee56c41853c488dc5808818f08e79c6 /tests/test_domain_cpp.py
parent4405366e223246045fb2ca465a8a3ebac1feb0e8 (diff)
downloadsphinx-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.py3
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)