We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1485a3a commit e8ccb71Copy full SHA for e8ccb71
_pytest/mark.py
@@ -401,9 +401,9 @@ def __init__(self, mark):
401
self.combined = mark
402
self._marks = [mark]
403
404
- name = alias('combined.name', warning=MARK_INFO_ATTRIBUTE)
405
- args = alias('combined.args', warning=MARK_INFO_ATTRIBUTE)
406
- kwargs = alias('combined.kwargs', warning=MARK_INFO_ATTRIBUTE)
+ name = alias('combined.name')
+ args = alias('combined.args')
+ kwargs = alias('combined.kwargs')
407
408
def __repr__(self):
409
return "<MarkInfo {0!r}>".format(self.combined)
changelog/2773.trivial
@@ -0,0 +1 @@
1
+remove warnings for MarkInfo attributes as they don't create value unless we have an alternative.
0 commit comments