File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 53
53
from _pytest .mark .structures import get_unpacked_marks
54
54
from _pytest .mark .structures import Mark
55
55
from _pytest .mark .structures import normalize_mark_list
56
- from _pytest .nodes import NodeKeywords
57
56
from _pytest .outcomes import fail
58
57
from _pytest .outcomes import skip
59
58
from _pytest .pathlib import parts
@@ -272,7 +271,7 @@ class PyobjMixin(PyobjContext):
272
271
273
272
# Function and attributes that the mixin needs (for type-checking only).
274
273
if TYPE_CHECKING :
275
- _keywords = None # type: Optional[NodeKeywords]
274
+ _keywords = None # type: Optional[nodes. NodeKeywords]
276
275
_own_markers = ([], []) # type: Tuple[List[Mark], List[Mark]]
277
276
278
277
@property
@@ -1473,7 +1472,7 @@ def own_markers(self) -> List[Mark]:
1473
1472
return self ._own_markers [0 ] + self ._obj_markers + self ._own_markers [1 ]
1474
1473
1475
1474
@property
1476
- def keywords (self ) -> NodeKeywords :
1475
+ def keywords (self ) -> "nodes. NodeKeywords" :
1477
1476
if self ._keywords is not None :
1478
1477
return self ._keywords
1479
1478
You can’t perform that action at this time.
0 commit comments