1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-12 08:21:54 +03:00

Modify wording in docstrings

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis
2022-08-25 16:27:05 +01:00
parent 3366ebcb66
commit 81f24443b7
2 changed files with 10 additions and 8 deletions

View File

@ -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