3 ms·
This is exactly what the Pytest framework in Python does. It's very, very convenient.
by nerdponx 6y ago
This is exactly what the Pytest framework in Python does. It's very, very convenient.
- srbaker 6y agoI am a fan of pytest, and mightn't have thought to make the same thing in Python land.
- aYsY4dDQ2NrcNzA 6y agoAnd in fact, pytest gives you hooks for these various kinds of value comparisons so that you can generate any error message that you want.