File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ def __init__(
600600 ast_node : Optional [InputValueDefinitionNode ] = None ,
601601 ) -> None :
602602 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." )
604604 if description is not None and not is_description (description ):
605605 raise TypeError ("Argument description must be a string." )
606606 if out_name is not None and not isinstance (out_name , str ):
@@ -1379,7 +1379,7 @@ def __init__(
13791379 ast_node : Optional [InputValueDefinitionNode ] = None ,
13801380 ) -> None :
13811381 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." )
13831383 if description is not None and not is_description (description ):
13841384 raise TypeError ("Input field description must be a string." )
13851385 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():
339339 msg = str (exc_info .value )
340340 assert msg == (
341341 "Schema must contain uniquely named types"
342- f " but contains multiple types named 'String'."
342+ " but contains multiple types named 'String'."
343343 )
344344
345345 def rejects_a_schema_when_a_provided_type_has_no_name ():
@@ -364,7 +364,7 @@ def rejects_a_schema_which_defines_an_object_twice():
364364 msg = str (exc_info .value )
365365 assert msg == (
366366 "Schema must contain uniquely named types"
367- f " but contains multiple types named 'SameName'."
367+ " but contains multiple types named 'SameName'."
368368 )
369369
370370 def rejects_a_schema_which_defines_fields_with_conflicting_types ():
@@ -382,7 +382,7 @@ def rejects_a_schema_which_defines_fields_with_conflicting_types():
382382 msg = str (exc_info .value )
383383 assert msg == (
384384 "Schema must contain uniquely named types"
385- f " but contains multiple types named 'SameName'."
385+ " but contains multiple types named 'SameName'."
386386 )
387387
388388 def describe_when_assumed_valid ():
You can’t perform that action at this time.
0 commit comments