Merge pull request #1631 from Avira/master
help the user in the rare case this assertion actually fails
This commit is contained in:
commit
61ede096a3
|
@ -1987,7 +1987,7 @@ class FixtureManager:
|
||||||
# fixture attribute
|
# fixture attribute
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
assert not name.startswith(self._argprefix)
|
assert not name.startswith(self._argprefix), name
|
||||||
fixturedef = FixtureDef(self, nodeid, name, obj,
|
fixturedef = FixtureDef(self, nodeid, name, obj,
|
||||||
marker.scope, marker.params,
|
marker.scope, marker.params,
|
||||||
yieldctx=marker.yieldctx,
|
yieldctx=marker.yieldctx,
|
||||||
|
|
Loading…
Reference in New Issue