Re: Evaluating error strings for 'unittest' assert methods.

2016-04-06 Thread Steven D'Aprano
On Thu, 7 Apr 2016 08:58 am, John Pote wrote: [...] > I like each assert...() to output helpful information when things go > wrong. So I have put in quite complicated code to generate the error > string the assert() method uses only when things go wrong. The normal > case, when everything is worki

Re: Evaluating error strings for 'unittest' assert methods.

2016-04-06 Thread Ethan Furman
On 04/06/2016 03:58 PM, John Pote wrote: I have been writing a very useful test script using the standard Python 'unittest' module. This works fine and has been a huge help in keeping the system I've been writing fully working even when I make changes that could break many features of the system.

Evaluating error strings for 'unittest' assert methods.

2016-04-06 Thread John Pote
I have been writing a very useful test script using the standard Python 'unittest' module. This works fine and has been a huge help in keeping the system I've been writing fully working even when I make changes that could break many features of the system. eg major rewrite of the interrupt rout