parent
88ed1ab648
commit
70f1e3b4b0
|
@ -553,7 +553,7 @@ class FixtureRequest(FuncargnamesCompatAttr):
|
||||||
if node is None and scope == "class":
|
if node is None and scope == "class":
|
||||||
# fallback to function item itself
|
# fallback to function item itself
|
||||||
node = self._pyfuncitem
|
node = self._pyfuncitem
|
||||||
assert node
|
assert node, 'Could not obtain a node for scope "{}" for function {!r}'.format(scope, self._pyfuncitem)
|
||||||
return node
|
return node
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|
Loading…
Reference in New Issue