fixtures: remove inaccurate comment

unittest TestCases can also use `usefixtures`. Just remove this comment,
it's not very helpful.
This commit is contained in:
Ran Benita 2023-07-15 22:54:15 +03:00
parent 0e0ed2af95
commit ff6e110161
1 changed files with 0 additions and 2 deletions

View File

@ -1046,8 +1046,6 @@ class FixtureDef(Generic[FixtureValue]):
# The names requested by the fixtures.
self.argnames: Final = getfuncargnames(func, name=argname, is_method=unittest)
# 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
# If the fixture was executed, the current value of the fixture.
# Can change if the fixture is executed with different parameters.