Skip to content

Commit 14294eb

Browse files
committed
fix(test): use proper typing.Callable for path generator
1 parent c5bec0a commit 14294eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/custom/integration/test_local_file_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from pathlib import Path
2+
from typing import Callable
23

34
import pytest
45

@@ -59,7 +60,7 @@ def test_path_validation(
5960
get_humanloop_client: GetHumanloopClientFn,
6061
syncable_files_fixture: list[SyncableFile],
6162
tmp_path: Path,
62-
path_generator: callable,
63+
path_generator: Callable[[SyncableFile], str],
6364
expected_error: str,
6465
test_case_description: str,
6566
):

0 commit comments

Comments
 (0)