fix docs
This commit is contained in:
parent
b8486037d3
commit
643e5a9c44
|
@ -1 +1 @@
|
||||||
unpack marks from parameterization to prevent the markdecorator missmatch bug.
|
no longer ValueError when using the ``get_marker`` api.
|
||||||
|
|
|
@ -231,6 +231,12 @@ def get_unpacked_marks(obj):
|
||||||
|
|
||||||
|
|
||||||
def normalize_mark_list(mark_list):
|
def normalize_mark_list(mark_list):
|
||||||
|
"""
|
||||||
|
normalizes marker decorating helpers to mark objects
|
||||||
|
|
||||||
|
:type mark_list: List[Union[Mark, Markdecorator]]
|
||||||
|
:rtype: List[Mark]
|
||||||
|
"""
|
||||||
return [getattr(mark, "mark", mark) for mark in mark_list] # unpack MarkDecorator
|
return [getattr(mark, "mark", mark) for mark in mark_list] # unpack MarkDecorator
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue