Behave like a method if the function it was applied to was a method.
(self, instance, owner=None)
| 1410 | return f"<pytest_fixture({self._fixture_function})>" |
| 1411 | |
| 1412 | def __get__(self, instance, owner=None): |
| 1413 | """Behave like a method if the function it was applied to was a method.""" |
| 1414 | return FixtureFunctionDefinition( |
| 1415 | function=self._fixture_function, |
| 1416 | fixture_function_marker=self._fixture_function_marker, |
| 1417 | instance=instance, |
| 1418 | _ispytest=True, |
| 1419 | ) |
| 1420 | |
| 1421 | def __call__(self, *args: Any, **kwds: Any) -> Any: |
| 1422 | message = ( |
no test coverage detected