Merge 2f9c6345e5
into ac41898755
This commit is contained in:
commit
548179406c
|
@ -1526,6 +1526,8 @@ class FixtureManager:
|
|||
def _getusefixturesnames(self, node: nodes.Item) -> Iterator[str]:
|
||||
"""Return the names of usefixtures fixtures applicable to node."""
|
||||
for mark in node.iter_markers(name="usefixtures"):
|
||||
if not mark.args:
|
||||
warnings.warn(f"Warning: empty usefixtures in {node.name}.")
|
||||
yield from mark.args
|
||||
|
||||
def getfixtureclosure(
|
||||
|
|
Loading…
Reference in New Issue