Skip to content

Commit 87b28a7

Browse files
author
Milhan
authored
Add missing UUID test case (#193)
1 parent 3901df8 commit 87b28a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_converter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ def fail(hint: Type, value: Any) -> None:
351351
ok(List[SerializableEnum], [SerializableEnum.FOO, SerializableEnum.FOO])
352352

353353
# UUID
354+
ok(UUID, uuid4())
355+
ok(List[UUID], [uuid4(), uuid4()])
354356

355357
# StrEnum is available in 3.11+
356358
if sys.version_info >= (3, 11):

0 commit comments

Comments
 (0)