Re: [sage-combinat-devel] doctesting an exception

2013-02-15 Thread Anne Schilling
On 2/15/13 5:39 AM, Mark Shimozono wrote: > Having been advised by the code barons that I should not > use "asserts" except to check against mathematical impossibilities > occurring during execution, I need to raise exceptions. > What is the right way to put in the answer to the automatic doctest >

[sage-combinat-devel] doctesting an exception

2013-02-15 Thread Mark Shimozono
Having been advised by the code barons that I should not use "asserts" except to check against mathematical impossibilities occurring during execution, I need to raise exceptions. What is the right way to put in the answer to the automatic doctest for raising an exception? I'm having trouble gettin