diff --git a/changelog/3635.trivial.rst b/changelog/3635.trivial.rst new file mode 100644 index 000000000..5354d0df9 --- /dev/null +++ b/changelog/3635.trivial.rst @@ -0,0 +1 @@ +Replace broken type annotations with type comments. diff --git a/src/_pytest/mark/structures.py b/src/_pytest/mark/structures.py index e3a07f021..9bd89c3c3 100644 --- a/src/_pytest/mark/structures.py +++ b/src/_pytest/mark/structures.py @@ -136,9 +136,9 @@ class Mark(object): #: name of the mark name = attr.ib(type=str) #: positional arguments of the mark decorator - args = attr.ib(type="List[object]") + args = attr.ib() # type: List[object] #: keyword arguments of the mark decorator - kwargs = attr.ib(type="Dict[str, object]") + kwargs = attr.ib() # type: Dict[str, object] def combined_with(self, other): """