minor: improve FixtureDef.__repr__

Ref: https://github.com/pytest-dev/pytest/pull/4105#pullrequestreview-163486766
This commit is contained in:
Daniel Hahler 2018-11-09 01:27:11 +01:00
parent 423e19909e
commit 401a3cd1bc
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ class FixtureDef(object):
return hook.pytest_fixture_setup(fixturedef=self, request=request)
def __repr__(self):
return "<FixtureDef name=%r scope=%r baseid=%r>" % (
return "<FixtureDef argname=%r scope=%r baseid=%r>" % (
self.argname,
self.scope,
self.baseid,