fixtures: remove inaccurate comment
unittest TestCases can also use `usefixtures`. Just remove this comment, it's not very helpful.
This commit is contained in:
parent
0e0ed2af95
commit
ff6e110161
|
@ -1046,8 +1046,6 @@ class FixtureDef(Generic[FixtureValue]):
|
||||||
# The names requested by the fixtures.
|
# The names requested by the fixtures.
|
||||||
self.argnames: Final = getfuncargnames(func, name=argname, is_method=unittest)
|
self.argnames: Final = getfuncargnames(func, name=argname, is_method=unittest)
|
||||||
# Whether the fixture was collected from a unittest TestCase class.
|
# Whether the fixture was collected from a unittest TestCase class.
|
||||||
# Note that it really only makes sense to define autouse fixtures in
|
|
||||||
# unittest TestCases.
|
|
||||||
self.unittest: Final = unittest
|
self.unittest: Final = unittest
|
||||||
# If the fixture was executed, the current value of the fixture.
|
# If the fixture was executed, the current value of the fixture.
|
||||||
# Can change if the fixture is executed with different parameters.
|
# Can change if the fixture is executed with different parameters.
|
||||||
|
|
Loading…
Reference in New Issue