Updated type hint

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Andrew Murray 2024-01-20 21:24:34 +11:00 committed by GitHub
parent 99d851957f
commit 970bd102ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ def convert_to_comparable(
return new_a, new_b
def assert_deep_equal(a: Any, b: Any, msg: str | None = None) -> None:
def assert_deep_equal(a: Sequence[Any], b: Sequence[Any], msg: str | None = None) -> None:
try:
assert len(a) == len(b), msg or f"got length {len(a)}, expected {len(b)}"
except Exception: