Skip to content

Commit f4ac817

Browse files
committed
Fix impossible coverage on newer versions of graphql-core
1 parent efe0182 commit f4ac817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gql/utilities/get_introspection_query_ast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_introspection_query_ast(
7373
if input_object_one_of:
7474
try:
7575
fragment_FullType.select(ds.__Type.isOneOf)
76-
except AttributeError:
76+
except AttributeError: # pragma: no cover
7777
raise NotImplementedError(
7878
"isOneOf is only supported from graphql-core version 3.3.0a7"
7979
)

0 commit comments

Comments
 (0)