We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9076de0 commit d49fd6fCopy full SHA for d49fd6f
tests/test_attribute_keyed_dict.py
@@ -50,7 +50,7 @@ class Parent(SQLModel, table=True):
50
51
# typing.Dict throws if it receives the wrong number of type arguments, but
52
# dict (3.10+) does not.
53
-@pytest.skipif(sys.version_info < 3.10)
+@pytest.mark.skipif(sys.version_info < (3, 10), reason="dict is not subscriptable")
54
def test_dict_relationship_throws_on_missing_annotation_arg(clear_sqlmodel):
55
class Color(str, Enum):
56
Orange = "Orange"
0 commit comments