help the user in the rare case this assertion actually fails
This commit is contained in:
parent
5d8d1db4df
commit
2b5c2f3ed5
|
@ -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