(self)
| 233 | _excinfo: list[_pytest._code.ExceptionInfo[BaseException]] | None = None |
| 234 | |
| 235 | def _getinstance(self): |
| 236 | assert isinstance(self.parent, UnitTestCase) |
| 237 | return self.parent.obj(self.name) |
| 238 | |
| 239 | # Backward compat for pytest-django; can be removed after pytest-django |
| 240 | # updates + some slack. |