2 ms·
Those assertions are invariants so that the test fails with a meaningful error message rather than raising IndexError or what have you.
by futureastronaut 8y ago
Those assertions are invariants so that the test fails with a meaningful error message rather than raising IndexError or what have you.