From 55ebf261ce9eee7d7dd67a332deb151747e8648e Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 3 Jul 2018 13:37:03 -0400 Subject: [PATCH] Switch to new API --- src/_pytest/mark/structures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/mark/structures.py b/src/_pytest/mark/structures.py index 3fb15bbc2..3c161c4a6 100644 --- a/src/_pytest/mark/structures.py +++ b/src/_pytest/mark/structures.py @@ -294,7 +294,7 @@ def _marked(func, mark): class MarkInfo(object): """ Marking object created by :class:`MarkDecorator` instances. """ - _marks = attr.ib(convert=list) + _marks = attr.ib(converter=list) @_marks.validator def validate_marks(self, attribute, value):