Skip to content

Commit 3ed8e28

Browse files
authored
Merge pull request #3654 from LeastAuthority/3653.deprecated-convert
Switch to new API
2 parents b509112 + b84a646 commit 3ed8e28

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog/3653.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix usage of ``attr.ib`` deprecated ``convert`` parameter.

src/_pytest/mark/structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def _marked(func, mark):
294294
class MarkInfo(object):
295295
""" Marking object created by :class:`MarkDecorator` instances. """
296296

297-
_marks = attr.ib(convert=list)
297+
_marks = attr.ib(converter=list)
298298

299299
@_marks.validator
300300
def validate_marks(self, attribute, value):

0 commit comments

Comments
 (0)