[issue10675] unittest should have an assertChanges context manager

R. David Murray report at bugs.python.org
Fri Dec 10 21:12:57 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

I think this is the kind of thing where you are *much* better off writing a specialized assert method that exactly fits your use case.  There are too many variations on this theme, IMO, for it to make sense as an stdlib method.

----------
nosy: +michael.foord, r.david.murray
resolution:  -> rejected
stage:  -> committed/rejected
status: open -> pending
versions: +Python 3.3 -Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10675>
_______________________________________


More information about the Python-bugs-list mailing list