We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8a4618 commit 631dd86Copy full SHA for 631dd86
src/_pytest/fixtures.py
@@ -82,7 +82,7 @@
82
83
84
# The value of the fixture -- return/yield of the fixture function (type variable).
85
-FixtureValue = TypeVar("FixtureValue")
+FixtureValue = TypeVar("FixtureValue", covariant=True)
86
# The type of the fixture function (type variable).
87
FixtureFunction = TypeVar("FixtureFunction", bound=Callable[..., object])
88
# The type of a fixture function (type alias generic in fixture value).
0 commit comments