[Peter Hansen] > This is pretty, but I *want* my tests to be contained > in separate functions or methods.
In py.test, those would read: def test1(): assert a == b def test2(): raises(Error, func, args) Enclosing classes are optional. Raymond -- http://mail.python.org/mailman/listinfo/python-list