File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,17 @@ class Hero(SQLModel, table=True):
7070 pk : int = Field (primary_key = True )
7171 weapon : Type8_t = "sword"
7272
73+
7374def test_sa_type_typing_9 () -> None :
7475 Type9_t = t .TypeVar ("Type9_t" , str , bytes )
7576
7677 with pytest .raises (ValueError ):
78+
7779 class Hero (SQLModel , table = True ):
7880 pk : int = Field (primary_key = True )
7981 weapon : Type9_t = "sword"
8082
83+
8184def test_sa_type_typing_extensions_1 () -> None :
8285 Type1_te = str
8386
@@ -148,6 +151,7 @@ def test_sa_type_typing_extensions_9() -> None:
148151 Type9_te = te .TypeVar ("Type9_te" , str , bytes )
149152
150153 with pytest .raises (ValueError ):
154+
151155 class Hero (SQLModel , table = True ):
152156 pk : int = Field (primary_key = True )
153157 weapon : Type9_te = "sword"
You can’t perform that action at this time.
0 commit comments