Skip to content

Commit 713ada8

Browse files
committed
Remove excessive assert
Replicates graphql/graphql-js@9f85d51
1 parent f676f7f commit 713ada8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/error/test_print_error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def prints_an_error_with_nodes_from_different_sources():
7676
op_b = cast(ObjectTypeDefinitionNode, op_b)
7777
assert op_b and op_b.kind == "object_type_definition" and op_b.fields
7878
field_b = op_b.fields[0]
79-
assert field_a and field_b
79+
8080
error = GraphQLError(
8181
"Example error with two nodes", [field_a.type, field_b.type]
8282
)

0 commit comments

Comments
 (0)