Skip to content

Commit 2c80779

Browse files
committed
squash! WIP: store _param_ids_from/_param_ids_generated with Marks
repr=False
1 parent 5ebc760 commit 2c80779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/mark/structures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ class Mark:
146146
#: keyword arguments of the mark decorator
147147
kwargs = attr.ib() # Dict[str, object]
148148

149-
_param_ids_from = attr.ib(type=Optional["Mark"], default=None)
150-
_param_ids_generated = attr.ib(type=Optional[List[str]], default=None)
149+
_param_ids_from = attr.ib(type=Optional["Mark"], default=None, repr=False)
150+
_param_ids_generated = attr.ib(type=Optional[List[str]], default=None, repr=False)
151151

152152
def _has_param_ids(self):
153153
return "ids" in self.kwargs or len(self.args) >= 4

0 commit comments

Comments
 (0)