Skip to content

Commit 58e77f5

Browse files
Replace broken type annotations with type comments
Fixes #3635.
1 parent 0565a7a commit 58e77f5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog/3635.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Replace broken type annotations with type comments.

src/_pytest/mark/structures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ class Mark(object):
136136
#: name of the mark
137137
name = attr.ib(type=str)
138138
#: positional arguments of the mark decorator
139-
args = attr.ib(type="List[object]")
139+
args = attr.ib() # type: List[object]
140140
#: keyword arguments of the mark decorator
141-
kwargs = attr.ib(type="Dict[str, object]")
141+
kwargs = attr.ib() # type: Dict[str, object]
142142

143143
def combined_with(self, other):
144144
"""

0 commit comments

Comments
 (0)