-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
topic: marksrelated to marks, either the general marks or builtinrelated to marks, either the general marks or builtin
Description
marker extraction currently does not handle inheritance adequately
Originally posted by @RonnyPfannschmidt in #8400 (comment)
pytest/src/_pytest/mark/structures.py
Lines 371 to 376 in 19a2f74
| def get_unpacked_marks(obj) -> List[Mark]: | |
| """Obtain the unpacked marks that are stored on an object.""" | |
| mark_list = getattr(obj, "pytestmark", []) | |
| if not isinstance(mark_list, list): | |
| mark_list = [mark_list] | |
| return normalize_mark_list(mark_list) |
Metadata
Metadata
Assignees
Labels
topic: marksrelated to marks, either the general marks or builtinrelated to marks, either the general marks or builtin