Skip to content

Commit 2518a24

Browse files
committed
Fix stub: Allow "Exists" key in assert_json_subset
1 parent f84f387 commit 2518a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asserts/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def assert_warns_regex(
159159
warning_type: type[Warning], regex: str, msg_fmt: str = ...
160160
) -> AssertWarnsContext: ...
161161
def assert_json_subset(
162-
first: dict[str, Any] | list[Any],
162+
first: dict[Any, Any] | list[Any], # dict key can be 'str' or 'Exists'
163163
second: dict[str, Any] | list[Any] | str | bytes,
164164
) -> None: ...
165165

0 commit comments

Comments
 (0)