diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-01 13:03:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-02 11:41:25 +0100 |
commit | c0f6a11b2125017c1d35067e76422152cc7bded0 (patch) | |
tree | 8beddf77ef2c53c59d76516cca258d19c3e68f80 /meta-selftest | |
parent | 1066af146869c8ed29397a94fd6e8e05f451c492 (diff) | |
download | poky-c0f6a11b2125017c1d35067e76422152cc7bded0.tar.gz |
oeqa/core/decorator/__init__.py: set metaclass to ABCMeta
OETestFilter is a subclass of OETestDecorator. It wants to make
use of @abstractmethod decorator. But such decorator requires
metaclass to be ABCMeta to have effect. So add it now to achieve
the designed behaviour.
Comments from python's manual:
"""
Using this decorator requires that the class's metaclass is ABCMeta
or is derived from it.
"""
(From OE-Core rev: 28c4fafb2322ea8c37bcd7710f22f46ef552a902)
(From OE-Core rev: 8c3a8c5d9fb31edbc37d8239c4cf5312a815a344)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
0 files changed, 0 insertions, 0 deletions