diff --git a/python/langsmith/_testing.py b/python/langsmith/_testing.py index ea52c79f3..67adbab31 100644 --- a/python/langsmith/_testing.py +++ b/python/langsmith/_testing.py @@ -320,7 +320,7 @@ def _start_experiment( # Track the number of times a parameter has been used in a test # This is to ensure that we can uniquely identify each test case # defined using pytest.mark.parametrize -_param_dict = defaultdict(lambda: defaultdict(int)) +_param_dict: dict = defaultdict(lambda: defaultdict(int)) def _get_id(func: Callable, inputs: dict, suite_id: uuid.UUID) -> Tuple[uuid.UUID, str]: diff --git a/python/tests/unit_tests/test_testing.py b/python/tests/unit_tests/test_testing.py index 3a5f05e97..893074e4d 100644 --- a/python/tests/unit_tests/test_testing.py +++ b/python/tests/unit_tests/test_testing.py @@ -16,7 +16,7 @@ def __init__(self, a, b): def test__get_id(): class Foo: - bar: str = "baz" + bar: str = "baz" # type: ignore def __init__(self, a: int, b: int): self.a = a