Merge pull request #3827 from Vlad-Shcherbina/funcfixtureinfo-type-hints
Replace broken type annotations with type comments
This commit is contained in:
commit
29975e5b37
|
@ -0,0 +1 @@
|
||||||
|
Replace broken type annotations with type comments.
|
|
@ -307,8 +307,8 @@ class FuncFixtureInfo(object):
|
||||||
# fixture names specified via usefixtures and via autouse=True in fixture
|
# fixture names specified via usefixtures and via autouse=True in fixture
|
||||||
# definitions.
|
# definitions.
|
||||||
initialnames = attr.ib(type=tuple)
|
initialnames = attr.ib(type=tuple)
|
||||||
names_closure = attr.ib(type="List[str]")
|
names_closure = attr.ib() # type: List[str]
|
||||||
name2fixturedefs = attr.ib(type="List[str, List[FixtureDef]]")
|
name2fixturedefs = attr.ib() # type: List[str, List[FixtureDef]]
|
||||||
|
|
||||||
def prune_dependency_tree(self):
|
def prune_dependency_tree(self):
|
||||||
"""Recompute names_closure from initialnames and name2fixturedefs
|
"""Recompute names_closure from initialnames and name2fixturedefs
|
||||||
|
|
Loading…
Reference in New Issue