Make pylint happy
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
3aeb60add6
commit
351e6885f5
2 changed files with 4 additions and 1 deletions
|
@ -117,6 +117,7 @@ class BaseTest(metaclass=ABCMeta):
|
|||
|
||||
|
||||
class BaseTarget:
|
||||
#pylint: disable=too-few-public-methods
|
||||
"""Base target for test case generation.
|
||||
|
||||
Child classes of this class represent an output file, and can be referred
|
||||
|
@ -141,6 +142,7 @@ class BaseTarget:
|
|||
will yield test cases from all classes derived from X.
|
||||
"""
|
||||
if issubclass(cls, BaseTest) and not inspect.isabstract(cls):
|
||||
#pylint: disable=no-member
|
||||
yield from cls.generate_function_tests()
|
||||
for subclass in sorted(cls.__subclasses__(), key=lambda c: c.__name__):
|
||||
yield from subclass.generate_tests()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue