diff --git a/_pytest/python.py b/_pytest/python.py index 21d78aea3..ddfb90b93 100644 --- a/_pytest/python.py +++ b/_pytest/python.py @@ -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,