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:
Ran Benita 2024-03-09 10:13:15 +02:00
parent 437eb86edd
commit 006058f1f9
1 changed files with 1 additions and 1 deletions

View File

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