mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
C++, test now also work with Python 3.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user