Is there a constraint-based unit testing framework for CPython (much like my beloved NUnit) or will I have to roll my own?
EDIT:
This is what I mean by constraint-based:
http://www.nunit.org/index.php?p=constraintModel&r=2.6
i.e. instead of:
assert(z.Count > 5)
it’s more like:
assert.that(z.Count, Is.GreaterThan(5))
To answer my own question: there is none. And really, there’s no point. It’s useful in languages like C#/Java, but not in Python where you can do things like assert(i in [1, 2, 3]).