Message84622
| Author |
pitrou |
| Recipients |
benjamin.peterson, giampaolo.rodola, gpolo, gregory.p.smith, gvanrossum, pitrou, pupeno, purcell, rhettinger, skip.montanaro |
| Date |
2009年03月30日.19:21:57 |
| SpamBayes Score |
8.845843e-05 |
| Marked as misclassified |
No |
| Message-id |
<1238441000.6888.56.camel@fsol> |
| In-reply-to |
<1238440290.4.0.48734761103.issue2578@psf.upfronthosting.co.za> |
| Content |
> Updated patch after sprinting on this with Michael Foord.
>
> TODO:
> * update assertRaisesWithRegexpMatch to be a context manager.
Wouldn't it be simpler to make assertRaises return the exception and let
the calling code match it as it feels like?
(or, at least, find a shorter name than assertRaisesWithRegexpMatch :-)) |
|