Skip to content

Commit 87caa04

Browse files
committed
actually fix tests
1 parent d6b18d7 commit 87caa04

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ pydantic>=2.8.0
55
stdlib_list>=0.10.0
66
colorama==0.4.4
77
python-socketio[asyncio_client]==5.11.1
8-
truststore>=0.8.0
8+
truststore>=0.8.0

tests/test_tabi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class MyTableRow(TypedDict, total=False):
6060
active: Required[bool]
6161
""" Required property """
6262
63-
optional: Dict[str, Any]
63+
optional: dict[str, Any]
6464
6565
6666
@@ -370,8 +370,8 @@ class MyTableRow(TypedDict, total=False):
370370
371371
class _MyTableRowdata(TypedDict, total=False):
372372
foo: str
373-
nested: List["_MyTableRowdatanesteditem"]
374-
other: Union[str, Union[int, float], Dict[str, Any], List[Any], bool, None]
373+
nested: list["_MyTableRowdatanesteditem"]
374+
other: str | int | float | dict[str, Any] | list[Any] | bool | None
375375
"""
376376
x-poly-ref:
377377
path: some.other.Schema

0 commit comments

Comments
 (0)