Unit test failure in juju/errors

Tim Penhey tim.penhey at canonical.com
Tue Feb 10 02:36:44 UTC 2015


Actually it is testing the DeferredAnnotatef method, so yes it does need
to use the defer.

Strange that the line number is changing though.

Tim

On 07/02/15 07:58, roger peppe wrote:
> Interesting. It seems that the line reported for a defer has changed in 1.4.
> 
> That said, I'm not really sure why that test needs to use defer. The
> functionality
> being tested doesn't rely on defer at all.
> 
> On 6 February 2015 at 09:14, Matthew Williams
> <matthew.williams at canonical.com> wrote:
>> Hi Folks,
>>
>> It appears that juju/errors has a failing unit test:
>> http://paste.ubuntu.com/10085832/
>>
>> It also appears that it only fails in go1.4
>>
>> Matty
>>
>> --
>> Juju-dev mailing list
>> Juju-dev at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>
> 




More information about the Juju-dev mailing list