On Sep 30, 9:58 ¨ֲם¬ ¢ֽוימעבה ׂודטויף¢ ¼םוימעבה®עודט®®®ְחםביל®דןםwrote:
> On Thu, Sep 25, 2008 at 8:49 PM, Ryan Davis <ryand-r... / zenspider.com>wrote:
>
>
>
>
>
> > On Sep 25, 2008, at 03:33 , daz wrote:
>
> >  ¨ֲוףנודפ זןהוזומהימפטֵמחליףלבמחץבחוׂשבמגץפטיף יף ׂץגש>
> >> Note this oddity in English grammar:
>
> >> ) It [singular] raises.
> >> ) They [plural] raise.
>
> > We're talking about assertions in unit tests here. There is never a plural
> > subject.
>
> > assert_raises reads correctly for both singular and multiple arguments:
>
> > assert (that it) raises (a) SyntaxError.
> > assert (that it) raises (one of) SyntaxError or ArgumentError.
>
> it depends entirely how you imagine the "missing" words. one could also read
> it like this:
>
> assert (the block to) raise (an) Exception
>
> This is, of course, absurd. What I am trying to say is that we should read
> method names as artificial commands and not as abbreviated English
> sentences. I'd prefer assert_exception over assert_raise and that over
> assert_raises.

OMG! Just leave it alone. I don't want to have to fix my tests over
something so pedantic.

T.