Skip to content

Commit d9c45e0

Browse files
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent 16ee026 commit d9c45e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_attribute_keyed_dict.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import re
2-
import sys
32
from enum import Enum
43
from typing import Dict, Optional
54

@@ -68,7 +67,7 @@ class Child(SQLModel, table=True):
6867
color: Color
6968
value: int
7069

71-
error_msg_fmt = "Dict/Mapping relationship field 'children_by_color' has {count} type arguments. Exactly two required (e.g., dict[str, Model])"
70+
error_msg_fmt = "Dict/Mapping relationship field 'children_by_color' has {count} type arguments. Exactly two required (e.g., dict[str, Model])"
7271

7372
# No type args
7473
with pytest.raises(ValueError, match=re.escape(error_msg_fmt.format(count=0))):

0 commit comments

Comments
 (0)