diff --git a/src/_pytest/mark/structures.py b/src/_pytest/mark/structures.py index b93bf6ed9..5186c9ea3 100644 --- a/src/_pytest/mark/structures.py +++ b/src/_pytest/mark/structures.py @@ -361,7 +361,7 @@ def get_unpacked_marks( consider_mro: bool = True, ) -> List[Mark]: """Obtain the unpacked marks that are stored on an object. - + If obj is a class and consider_mro is true, return marks applied to this class and all of its super-classes in MRO order. If consider_mro is false, only return marks applied directly to this class.