Skip to content

Commit 14bc021

Browse files
committed
match update of astpretty.
1 parent ddec90b commit 14bc021

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_on_corpus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
def test_file(path):
1212
with open(path) as f:
13-
expected_ast = astpretty.pformat(ast.parse(f.read()), show_position=False)
13+
expected_ast = astpretty.pformat(ast.parse(f.read()), show_offsets=False)
1414
printer_output = subprocess.check_output(['cargo', 'run', path])
15-
received_ast = astpretty.pformat(ast.parse(printer_output), show_position=False)
15+
received_ast = astpretty.pformat(ast.parse(printer_output), show_offsets=False)
1616
if expected_ast == received_ast:
1717
print('{}: ok'.format(path))
1818
return

0 commit comments

Comments
 (0)