C++, test now also work with Python 3.

This commit is contained in:
Jakob Lykke Andersen
2014-08-10 11:59:22 +02:00
parent e65287ec9c
commit e43fcfa1f4

View File

@@ -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