Modify wording in docstrings
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
3366ebcb66
commit
81f24443b7
2 changed files with 10 additions and 8 deletions
|
@ -35,7 +35,8 @@ T = TypeVar('T') #pylint: disable=invalid-name
|
|||
class BaseTarget(metaclass=ABCMeta):
|
||||
"""Base target for test case generation.
|
||||
|
||||
This should be derived from for file Targets.
|
||||
Derive directly from this class when adding new file Targets, setting
|
||||
`target_basename`.
|
||||
|
||||
Attributes:
|
||||
count: Counter for test cases from this class.
|
||||
|
@ -113,7 +114,7 @@ class BaseTarget(metaclass=ABCMeta):
|
|||
"""Generate test cases for the class and its subclasses.
|
||||
|
||||
In classes with `test_function` set, `generate_function_tests()` is
|
||||
used to generate test cases first.
|
||||
called to generate test cases first.
|
||||
|
||||
In all classes, this method will iterate over its subclasses, and
|
||||
yield from `generate_tests()` in each. Calling this method on a class X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue