MCPcopy Index your code
hub / github.com/ipython/ipython / from_parent

Method from_parent

IPython/testing/plugin/pytest_ipdoctest.py:691–703  ·  view source on GitHub ↗
(
            cls,
            parent,
            *,
            fspath=None,
            path: Optional[Path] = None,
            **kw,
        )

Source from the content-addressed store, hash-verified

689
690 @classmethod
691 def from_parent(
692 cls,
693 parent,
694 *,
695 fspath=None,
696 path: Optional[Path] = None,
697 **kw,
698 ):
699 if path is not None:
700 import py.path
701
702 fspath = py.path.local(path)
703 return super().from_parent(parent=parent, fspath=fspath, **kw)
704
705
706def _setup_fixtures(doctest_item: IPDoctestItem) -> FixtureRequest:

Callers

nothing calls this directly

Calls 1

from_parentMethod · 0.45

Tested by

no test coverage detected