minor: improve FixtureDef.__repr__
Ref: https://github.com/pytest-dev/pytest/pull/4105#pullrequestreview-163486766
This commit is contained in:
parent
423e19909e
commit
401a3cd1bc
|
@ -927,7 +927,7 @@ class FixtureDef(object):
|
||||||
return hook.pytest_fixture_setup(fixturedef=self, request=request)
|
return hook.pytest_fixture_setup(fixturedef=self, request=request)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<FixtureDef name=%r scope=%r baseid=%r>" % (
|
return "<FixtureDef argname=%r scope=%r baseid=%r>" % (
|
||||||
self.argname,
|
self.argname,
|
||||||
self.scope,
|
self.scope,
|
||||||
self.baseid,
|
self.baseid,
|
||||||
|
|
Loading…
Reference in New Issue