fixtures: update outdated comment
No longer does unittest stuff. Also the rest of the sentence is not really necessary for a docstring.
This commit is contained in:
parent
437eb86edd
commit
006058f1f9
|
@ -1096,7 +1096,7 @@ def resolve_fixture_function(
|
||||||
fixturedef: FixtureDef[FixtureValue], request: FixtureRequest
|
fixturedef: FixtureDef[FixtureValue], request: FixtureRequest
|
||||||
) -> "_FixtureFunc[FixtureValue]":
|
) -> "_FixtureFunc[FixtureValue]":
|
||||||
"""Get the actual callable that can be called to obtain the fixture
|
"""Get the actual callable that can be called to obtain the fixture
|
||||||
value, dealing with unittest-specific instances and bound methods."""
|
value."""
|
||||||
fixturefunc = fixturedef.func
|
fixturefunc = fixturedef.func
|
||||||
# The fixture function needs to be bound to the actual
|
# The fixture function needs to be bound to the actual
|
||||||
# request.instance so that code working with "fixturedef" behaves
|
# request.instance so that code working with "fixturedef" behaves
|
||||||
|
|
Loading…
Reference in New Issue