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

Patrick Ohly patrick.ohly at intel.com
Wed Jul 12 06:51:37 UTC 2017


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.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.






More information about the Openembedded-core mailing list