Skip to content

Commit bde83af

Browse files
committed
Use AST abbreviation consitently
Should be consistent with public API, e.g. build_ast_schema Replicates graphql/graphql-js@0736269
1 parent df02675 commit bde83af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/language/test_schema_printer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ def prints_minimal_ast():
1515
assert print_ast(node) == "scalar foo"
1616

1717
def produces_helpful_error_messages():
18-
bad_ast1 = {"random": "Data"}
18+
bad_ast = {"random": "Data"}
1919
with raises(TypeError) as exc_info:
2020
# noinspection PyTypeChecker
21-
print_ast(bad_ast1)
21+
print_ast(bad_ast)
2222
msg = str(exc_info.value)
2323
assert msg == "Not an AST Node: {'random': 'Data'}"
2424

0 commit comments

Comments
 (0)