File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ def __init__(
600
600
ast_node : Optional [InputValueDefinitionNode ] = None ,
601
601
) -> None :
602
602
if not is_input_type (type_ ):
603
- raise TypeError (f "Argument type must be a GraphQL input type." )
603
+ raise TypeError ("Argument type must be a GraphQL input type." )
604
604
if description is not None and not is_description (description ):
605
605
raise TypeError ("Argument description must be a string." )
606
606
if out_name is not None and not isinstance (out_name , str ):
@@ -1379,7 +1379,7 @@ def __init__(
1379
1379
ast_node : Optional [InputValueDefinitionNode ] = None ,
1380
1380
) -> None :
1381
1381
if not is_input_type (type_ ):
1382
- raise TypeError (f "Input field type must be a GraphQL input type." )
1382
+ raise TypeError ("Input field type must be a GraphQL input type." )
1383
1383
if description is not None and not is_description (description ):
1384
1384
raise TypeError ("Input field description must be a string." )
1385
1385
if out_name is not None and not isinstance (out_name , str ):
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ def rejects_a_schema_which_redefines_a_built_in_type():
339
339
msg = str (exc_info .value )
340
340
assert msg == (
341
341
"Schema must contain uniquely named types"
342
- f " but contains multiple types named 'String'."
342
+ " but contains multiple types named 'String'."
343
343
)
344
344
345
345
def rejects_a_schema_when_a_provided_type_has_no_name ():
@@ -364,7 +364,7 @@ def rejects_a_schema_which_defines_an_object_twice():
364
364
msg = str (exc_info .value )
365
365
assert msg == (
366
366
"Schema must contain uniquely named types"
367
- f " but contains multiple types named 'SameName'."
367
+ " but contains multiple types named 'SameName'."
368
368
)
369
369
370
370
def rejects_a_schema_which_defines_fields_with_conflicting_types ():
@@ -382,7 +382,7 @@ def rejects_a_schema_which_defines_fields_with_conflicting_types():
382
382
msg = str (exc_info .value )
383
383
assert msg == (
384
384
"Schema must contain uniquely named types"
385
- f " but contains multiple types named 'SameName'."
385
+ " but contains multiple types named 'SameName'."
386
386
)
387
387
388
388
def describe_when_assumed_valid ():
You can’t perform that action at this time.
0 commit comments