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 @@ -593,7 +593,7 @@ def __init__(
593
593
ast_node : InputValueDefinitionNode = None ,
594
594
) -> None :
595
595
if not is_input_type (type_ ):
596
- raise TypeError (f "Argument type must be a GraphQL input type." )
596
+ raise TypeError ("Argument type must be a GraphQL input type." )
597
597
if description is not None and not is_description (description ):
598
598
raise TypeError ("Argument description must be a string." )
599
599
if out_name is not None and not isinstance (out_name , str ):
@@ -1324,7 +1324,7 @@ def __init__(
1324
1324
ast_node : InputValueDefinitionNode = None ,
1325
1325
) -> None :
1326
1326
if not is_input_type (type_ ):
1327
- raise TypeError (f "Input field type must be a GraphQL input type." )
1327
+ raise TypeError ("Input field type must be a GraphQL input type." )
1328
1328
if description is not None and not is_description (description ):
1329
1329
raise TypeError ("Input field description must be a string." )
1330
1330
if out_name is not None and not isinstance (out_name , str ):
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ def rejects_a_schema_which_redefines_a_built_in_type():
268
268
msg = str (exc_info .value )
269
269
assert msg == (
270
270
"Schema must contain uniquely named types"
271
- f " but contains multiple types named 'String'."
271
+ " but contains multiple types named 'String'."
272
272
)
273
273
274
274
def rejects_a_schema_which_defines_an_object_twice ():
@@ -282,7 +282,7 @@ def rejects_a_schema_which_defines_an_object_twice():
282
282
msg = str (exc_info .value )
283
283
assert msg == (
284
284
"Schema must contain uniquely named types"
285
- f " but contains multiple types named 'SameName'."
285
+ " but contains multiple types named 'SameName'."
286
286
)
287
287
288
288
def rejects_a_schema_which_defines_fields_with_conflicting_types ():
@@ -300,7 +300,7 @@ def rejects_a_schema_which_defines_fields_with_conflicting_types():
300
300
msg = str (exc_info .value )
301
301
assert msg == (
302
302
"Schema must contain uniquely named types"
303
- f " but contains multiple types named 'SameName'."
303
+ " but contains multiple types named 'SameName'."
304
304
)
305
305
306
306
def describe_when_assumed_valid ():
You can’t perform that action at this time.
0 commit comments