Skip to content

Commit 506e5c1

Browse files
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent fc9a2e6 commit 506e5c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_field_sa_type.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
7374
def 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+
8184
def 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"

0 commit comments

Comments
 (0)