3 ms·
I was frustrated with the limited utility and expressiveness of Python assertions, so I wrote a library for expressive assertions: https://github.com/kislyuk/e
by ak217 13y ago
I was frustrated with the limited utility and expressiveness of Python assertions, so I wrote a library for expressive assertions:
https://github.com/kislyuk/ensure https://github.com/kislyuk/ensure
It's inspired by ensure.js, and defines a large (and growing) number of helpers to make assertions concise, easy to read, customizable, and more usable than the assert statement. (Feedback welcome!)