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
|
||||
continue
|
||||
else:
|
||||
assert not name.startswith(self._argprefix)
|
||||
assert not name.startswith(self._argprefix), name
|
||||
fixturedef = FixtureDef(self, nodeid, name, obj,
|
||||
marker.scope, marker.params,
|
||||
yieldctx=marker.yieldctx,
|
||||
|
|
Loading…
Reference in New Issue