drslump/pyshould — pull request #1 by drslump (2012-09-21 10:39:03+00:00)
Title: Support context manager protocol (with keyword) for matchers.

Right now only the 'thrown' one supports this feature.

with should.throw(TypeError):
raise TypeError('foo')

with should.throw:
raise IOError()

with should.not_raise:
pass