help the user in the rare case this assertion actually fails

This commit is contained in:
Oliver Bestwalter 2016-06-21 14:57:48 +02:00
parent 5d8d1db4df
commit 2b5c2f3ed5
1 changed files with 1 additions and 1 deletions

View File

@ -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,