Skip to content

Commit 26bda61

Browse files
Update tests/test_attribute_keyed_dict.py
Co-authored-by: Motov Yurii <[email protected]>
1 parent 8855492 commit 26bda61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_attribute_keyed_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Parent(SQLModel, table=True):
5151

5252
@needs_pydanticv2 # Pydantic V1 doesn't support `dict` with number of arguments < 2
5353
@needs_py39 # Generic `dict` requires Python 3.9+
54-
def test_dict_relationship_throws_on_missing_annotation_arg(clear_sqlmodel):
54+
def test_dict_relationship_throws_on_wrong_number_of_annotation_args(clear_sqlmodel):
5555
class Color(str, Enum):
5656
Orange = "Orange"
5757
Blue = "Blue"

0 commit comments

Comments
 (0)