Fixed typing of Dict
All checks were successful
Tests / test (3.10) (push) Successful in 1m9s
Tests / test (3.11) (push) Successful in 1m52s
Tests / test (3.8) (push) Successful in 1m23s
Tests / test (3.9) (push) Successful in 1m25s

This commit is contained in:
Profitroll 2023-08-06 21:22:24 +02:00
parent 3f39e07d04
commit 65838450ee
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -1,4 +1,4 @@
from typing import Any, List from typing import Any, Dict, List
import pytest import pytest
@ -27,7 +27,7 @@ from libbot import sync
], ],
) )
def test_nested_set_valid( def test_nested_set_valid(
target: dict[str, Any], target: Dict[str, Any],
value: Any, value: Any,
path: List[str], path: List[str],
create_missing: bool, create_missing: bool,
@ -51,7 +51,7 @@ def test_nested_set_valid(
], ],
) )
def test_nested_set_invalid( def test_nested_set_invalid(
target: dict[str, Any], target: Dict[str, Any],
value: Any, value: Any,
path: List[str], path: List[str],
create_missing: bool, create_missing: bool,