Skip to content

Commit 8fb8b17

Browse files
committed
Use format instead of f strings
1 parent cad3717 commit 8fb8b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/tests/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ class Query(ObjectType):
533533

534534
def test_django_objecttype_choices_custom_enum_name(self, PetModel):
535535
def custom_name(field):
536-
return f"CustomEnum{field.name.title()}"
536+
return "CustomEnum{}".format(field.name.title())
537537

538538
graphene_settings.DJANGO_CHOICE_FIELD_ENUM_CUSTOM_NAME = custom_name
539539

0 commit comments

Comments
 (0)