The public named constructor.
( # type: ignore
cls,
parent: "Union[IPDoctestTextfile, IPDoctestModule]",
*,
name: str,
runner: "IPDocTestRunner",
dtest: "doctest.DocTest",
)
| 294 | |
| 295 | @classmethod |
| 296 | def from_parent( # type: ignore |
| 297 | cls, |
| 298 | parent: "Union[IPDoctestTextfile, IPDoctestModule]", |
| 299 | *, |
| 300 | name: str, |
| 301 | runner: "IPDocTestRunner", |
| 302 | dtest: "doctest.DocTest", |
| 303 | ) -> "IPDoctestItem": |
| 304 | # incompatible signature due to imposed limits on subclass |
| 305 | """The public named constructor.""" |
| 306 | return super().from_parent(name=name, parent=parent, runner=runner, dtest=dtest) |
| 307 | |
| 308 | def setup(self) -> None: |
| 309 | if self.dtest is not None: |
no outgoing calls
no test coverage detected