summaryrefslogtreecommitdiff
path: root/tests/test_cpp_domain.py
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2014-05-28 00:14:50 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2014-05-28 00:14:50 +0900
commit9ebee01d19cc28eb12d4b92d2e2b2f49e3b81cf1 (patch)
tree9d4cb369702423342fb7195683bcdcffc31ee9b5 /tests/test_cpp_domain.py
parenta8c2bd4f1fd8800a2bcc529737652d0451f204e6 (diff)
downloadsphinx-git-9ebee01d19cc28eb12d4b92d2e2b2f49e3b81cf1.tar.gz
* update CHANGES and fix for py3-compat for pull request #241. Closes #1466
Diffstat (limited to 'tests/test_cpp_domain.py')
-rw-r--r--tests/test_cpp_domain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py
index 5a0b8b6f6..57dc74a5a 100644
--- a/tests/test_cpp_domain.py
+++ b/tests/test_cpp_domain.py
@@ -127,7 +127,7 @@ def test_type_definitions():
raises(DefinitionError, parse, 'function', x)
x = 'int foo(const A&... a)'
- assert unicode(parse('function', x)) == x
+ assert text_type(parse('function', x)) == x
def test_bases():
x = 'A'