This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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?
History
Date User Action Args
2009-03-30 19:47:35gvanrossumsetrecipients: + gvanrossum, skip.montanaro, rhettinger, gregory.p.smith, purcell, pitrou, giampaolo.rodola, pupeno, benjamin.peterson, gpolo
2009-03-30 19:47:33gvanrossumlinkissue2578 messages
2009-03-30 19:47:33gvanrossumcreate