Skip to content

Commit dc4c531

Browse files
Remove unnecessary f-string (openapi-generators#155)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
1 parent f7a56aa commit dc4c531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_openapi_parser/test_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def test__validate_default_enum_items(self, mocker):
278278
inner_enum_property._validate_default.return_value = "AnEnum.val1"
279279

280280
p = ListProperty(name="a name", required=True, default=["val1"], inner_property=inner_enum_property)
281-
assert p.default == f"field(default_factory=lambda: cast(List[AnEnum], [AnEnum.val1]))"
281+
assert p.default == "field(default_factory=lambda: cast(List[AnEnum], [AnEnum.val1]))"
282282

283283

284284
class TestUnionProperty:

0 commit comments

Comments
 (0)