diff options
author | Jakob Lykke Andersen <jakob@caput.dk> | 2014-08-10 11:59:22 +0200 |
---|---|---|
committer | Jakob Lykke Andersen <jakob@caput.dk> | 2014-08-10 11:59:22 +0200 |
commit | e43fcfa1f48cd2adf988356c21db15f61850fdaf (patch) | |
tree | 0b953b99134878ceab93e33ba6ab738a340b77d1 /tests/test_cpp_domain.py | |
parent | e65287ec9c10ffb706017dc671db20a4bfdaede6 (diff) | |
download | sphinx-git-e43fcfa1f48cd2adf988356c21db15f61850fdaf.tar.gz |
C++, test now also work with Python 3.
Diffstat (limited to 'tests/test_cpp_domain.py')
-rw-r--r-- | tests/test_cpp_domain.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py index 7be8fe3f4..38d167545 100644 --- a/tests/test_cpp_domain.py +++ b/tests/test_cpp_domain.py @@ -31,9 +31,9 @@ def check(name, input, output=None): ast = parse(name, input) res = text_type(ast) if res != output: - print "Input: ", text_type(input) - print "Result: ", res - print "Expected: ", output + print("Input: ", text_type(input)) + print("Result: ", res) + print("Expected: ", output) raise DefinitionError("") ast.describe_signature([], 'lastIsName', None) ast.prefixedName = ast.name # otherwise the get_id fails, it would be set in handle_signarue |