Hacker News new | comments | show | ask | jobs | submit login

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

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!)




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: