Skip to content

Commit 3249f9b

Browse files
author
Natarajan Krishnaswami
committed
Drop support for Python 3.8 and Pydantic v1
1 parent de9f180 commit 3249f9b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/test_attribute_keyed_dict.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
from sqlalchemy.orm.collections import attribute_keyed_dict
77
from sqlmodel import Field, Relationship, Session, SQLModel, create_engine
88

9-
from tests.conftest import needs_py39, needs_pydanticv2
10-
119

1210
def test_attribute_keyed_dict_works(clear_sqlmodel):
1311
class Color(str, Enum):
@@ -49,8 +47,6 @@ class Parent(SQLModel, table=True):
4947
assert parent.children_by_color[Color.Blue].value == 2
5048

5149

52-
@needs_pydanticv2
53-
@needs_py39 # Generic `dict` requires Python 3.9+
5450
def test_dict_relationship_throws_on_wrong_number_of_annotation_args(clear_sqlmodel):
5551
class Color(str, Enum):
5652
Orange = "Orange"

0 commit comments

Comments
 (0)