Skip to content

Commit 924de34

Browse files
tselepakisViicos
andauthored
Update tests/test_settings_py312.py
Co-authored-by: Victorien <[email protected]>
1 parent d9b28ef commit 924de34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_settings_py312.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212

1313
def test_annotated_with_type(env):
14+
"""https://github.com/pydantic/pydantic-settings/issues/536.
15+
16+
PEP 695 type aliases need to be analyzed when determining if an annotation is complex.
17+
"""
1418
type MinLenList = Annotated[list[str], MinLen(2)]
1519

1620
class AnnotatedComplexSettings(BaseSettings):

0 commit comments

Comments
 (0)