[OE-core] [PATCH 03/30] selftest/cases/package: Call parent setUpClass method

Aníbal Limón anibal.limon at linux.intel.com
Wed Jul 12 15:44:11 UTC 2017



On 07/12/2017 01:51 AM, Patrick Ohly wrote:
> On Tue, 2017-07-11 at 15:23 -0500, Aníbal Limón wrote:
>>      def setUpClass(cls):
>> +        super(VersionOrdering, cls).setUpClass()
>> +
> 
> In Python3 one can simply use super().setUpClass().
> 
> Not sure whether that's worth a V2 by itself. There's also plenty of
> other code outside of this patch which could be simplified like this.

Yes may be is better to send a patch changing all the cases to the new
py3 form.

Anibal

> 



More information about the Openembedded-core mailing list