Merge pull request #1631 from Avira/master

help the user in the rare case this assertion actually fails
This commit is contained in:
Bruno Oliveira 2016-06-21 13:17:52 -03:00 committed by GitHub
commit 61ede096a3
1 changed files with 1 additions and 1 deletions

View File

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