summaryrefslogtreecommitdiff
path: root/tests/test_cpp_domain.py
diff options
context:
space:
mode:
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'