Removed unused assert_all_same

This commit is contained in:
Andrew Murray 2025-01-09 14:32:46 +11:00
parent 440b09e831
commit aa686894a6

View File

@ -145,10 +145,6 @@ def assert_image_similar_tofile(
assert_image_similar(a, img, epsilon, msg)
def assert_all_same(items: Sequence[Any], msg: str | None = None) -> None:
assert items.count(items[0]) == len(items), msg
def assert_not_all_same(items: Sequence[Any], msg: str | None = None) -> None:
assert items.count(items[0]) != len(items), msg