Skip to content

Commit b197d5e

Browse files
committed
reformat
1 parent 6619065 commit b197d5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/inputs/enum/test_enum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
Choice,
44
Test,
55
)
6-
76
from tests.output_betterproto_pydantic.enum import (
8-
Test as TestPyd,
97
Choice as ChoicePyd,
8+
Test as TestPyd,
109
)
1110

1211

@@ -118,6 +117,7 @@ def test_renamed_enum_members():
118117
"_0_PREFIXED",
119118
}
120119

120+
121121
def test_pydantic_enum_preserve_type():
122122
test = TestPyd(choice=ChoicePyd.ZERO)
123123
assert isinstance(test.choice, ChoicePyd)

0 commit comments

Comments
 (0)