Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nerdponx
· 5y ago · 0 comments
This is exactly what the Pytest framework in Python does. It's very, very convenient.
Comments
[–]
aYsY4dDQ2NrcNzA
5y ago
And in fact, pytest gives you hooks for these various kinds of value comparisons so that you can generate any error message that you want.
[–]
srbaker
5y ago
I am a fan of pytest, and mightn't have thought to make the same thing in Python land.