Message84625
| Author |
gvanrossum |
| Recipients |
benjamin.peterson, giampaolo.rodola, gpolo, gregory.p.smith, gvanrossum, pitrou, pupeno, purcell, rhettinger, skip.montanaro |
| Date |
2009年03月30日.19:47:33 |
| SpamBayes Score |
8.2968676e-05 |
| Marked as misclassified |
No |
| Message-id |
<ca471dc20903301247v1e45776ej1b0110dce714833a@mail.gmail.com> |
| In-reply-to |
<1238441000.6888.56.camel@fsol> |
| Content |
> Antoine Pitrou <pitrou@free.fr> added the comment:
> Wouldn't it be simpler to make assertRaises return the exception and let
> the calling code match it as it feels like?
Hm, that sounds awfully familiar. I can't recall if there was ever a
good reason not to do this.
> (or, at least, find a shorter name than assertRaisesWithRegexpMatch :-))
assertRaisesRegex? |
|