[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-01-20 10:24:54 +00:00
parent 970bd102ba
commit 9454c28f0f

View File

@ -66,7 +66,9 @@ def convert_to_comparable(
return new_a, new_b
def assert_deep_equal(a: Sequence[Any], b: Sequence[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: