You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guard subset filter against non-mapping expected_usage
Address PR review feedback: the conformance fixture's typed model
allows usage: null. When that happens, expected_usage is None and
the subset filter's k in expected_usage raises TypeError instead of
producing a clean assertion failure.
Wrap the subset filter in an isinstance(dict) guard. The mapping path
keeps the same subset semantics; the non-mapping path falls back to
direct comparison so the assert fires with a clear shape mismatch.
0 commit comments