Skip to content

Commit 1b1cb62

Browse files
authored
Merge pull request #2 from aarranz/patch-2
Change type hint for name_allow_list parameter (allowing string values)
2 parents 3b8f30e + c045815 commit 1b1cb62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

funalone/isolated_function_clone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def with_isolated_function_clone(
127127
tested_function: Callable[P, R],
128128
*,
129129
custom_mocked_objects: dict | Iterable[tuple[NamedObject, Mock]] | None = None,
130-
name_allow_list: Iterable[NamedObject] | None = None,
130+
name_allow_list: Iterable[Name] | None = None,
131131
name_allow_condition: Callable[[object], bool] | None = None,
132132
allow_all_names: bool = False,
133133
allow_builtins: bool = True,

0 commit comments

Comments
 (0)