fname stringlengths 63 176 | rel_fname stringclasses 706
values | line int64 -1 4.5k | name stringlengths 1 81 | kind stringclasses 2
values | category stringclasses 2
values | info stringlengths 0 77.9k ⌀ |
|---|---|---|---|---|---|---|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 95 | legacy_path | ref | function | return legacy_path(self._pytester.makeconftest(source))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 95 | makeconftest | ref | function | return legacy_path(self._pytester.makeconftest(source))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 97 | makeini | def | function | def makeini(self, source) -> LEGACY_PATH:
"""See :meth:`Pytester.makeini`."""
return legacy_path(self._pytester.makeini(source))
def getinicfg(self, source: str) -> SectionWrapper:
"""See :meth:`Pytester.getinicfg`."""
return self._pytester.getinicfg(source)
def makepyproje... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 99 | legacy_path | ref | function | return legacy_path(self._pytester.makeini(source))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 99 | makeini | ref | function | return legacy_path(self._pytester.makeini(source))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 101 | getinicfg | def | function | def getinicfg(self, source: str) -> SectionWrapper:
"""See :meth:`Pytester.getinicfg`."""
return self._pytester.getinicfg(source)
def makepyprojecttoml(self, source) -> LEGACY_PATH:
"""See :meth:`Pytester.makepyprojecttoml`."""
return legacy_path(self._pytester.makepyprojecttoml... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 103 | getinicfg | ref | function | return self._pytester.getinicfg(source)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 105 | makepyprojecttoml | def | function | def makepyprojecttoml(self, source) -> LEGACY_PATH:
"""See :meth:`Pytester.makepyprojecttoml`."""
return legacy_path(self._pytester.makepyprojecttoml(source))
def makepyfile(self, *args, **kwargs) -> LEGACY_PATH:
"""See :meth:`Pytester.makepyfile`."""
return legacy_path(self._py... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 107 | legacy_path | ref | function | return legacy_path(self._pytester.makepyprojecttoml(source))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 107 | makepyprojecttoml | ref | function | return legacy_path(self._pytester.makepyprojecttoml(source))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 109 | makepyfile | def | function | def makepyfile(self, *args, **kwargs) -> LEGACY_PATH:
"""See :meth:`Pytester.makepyfile`."""
return legacy_path(self._pytester.makepyfile(*args, **kwargs))
def maketxtfile(self, *args, **kwargs) -> LEGACY_PATH:
"""See :meth:`Pytester.maketxtfile`."""
return legacy_path(self._pyt... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 111 | legacy_path | ref | function | return legacy_path(self._pytester.makepyfile(*args, **kwargs))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 111 | makepyfile | ref | function | return legacy_path(self._pytester.makepyfile(*args, **kwargs))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 113 | maketxtfile | def | function | def maketxtfile(self, *args, **kwargs) -> LEGACY_PATH:
"""See :meth:`Pytester.maketxtfile`."""
return legacy_path(self._pytester.maketxtfile(*args, **kwargs))
def syspathinsert(self, path=None) -> None:
"""See :meth:`Pytester.syspathinsert`."""
return self._pytester.syspathinser... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 115 | legacy_path | ref | function | return legacy_path(self._pytester.maketxtfile(*args, **kwargs))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 115 | maketxtfile | ref | function | return legacy_path(self._pytester.maketxtfile(*args, **kwargs))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 117 | syspathinsert | def | function | def syspathinsert(self, path=None) -> None:
"""See :meth:`Pytester.syspathinsert`."""
return self._pytester.syspathinsert(path)
def mkdir(self, name) -> LEGACY_PATH:
"""See :meth:`Pytester.mkdir`."""
return legacy_path(self._pytester.mkdir(name))
def mkpydir(self, name) -> ... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 119 | syspathinsert | ref | function | return self._pytester.syspathinsert(path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 123 | legacy_path | ref | function | return legacy_path(self._pytester.mkdir(name))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 125 | mkpydir | def | function | def mkpydir(self, name) -> LEGACY_PATH:
"""See :meth:`Pytester.mkpydir`."""
return legacy_path(self._pytester.mkpydir(name))
def copy_example(self, name=None) -> LEGACY_PATH:
"""See :meth:`Pytester.copy_example`."""
return legacy_path(self._pytester.copy_example(name))
def ... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 127 | legacy_path | ref | function | return legacy_path(self._pytester.mkpydir(name))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 127 | mkpydir | ref | function | return legacy_path(self._pytester.mkpydir(name))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 129 | copy_example | def | function | def copy_example(self, name=None) -> LEGACY_PATH:
"""See :meth:`Pytester.copy_example`."""
return legacy_path(self._pytester.copy_example(name))
def getnode(
self, config: pytest.Config, arg
) -> Optional[Union[pytest.Item, pytest.Collector]]:
"""See :meth:`Pytester.getnode`... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 131 | legacy_path | ref | function | return legacy_path(self._pytester.copy_example(name))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 131 | copy_example | ref | function | return legacy_path(self._pytester.copy_example(name))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 133 | getnode | def | function | def getnode(
self, config: pytest.Config, arg
) -> Optional[Union[pytest.Item, pytest.Collector]]:
"""See :meth:`Pytester.getnode`."""
return self._pytester.getnode(config, arg)
def getpathnode(self, path):
"""See :meth:`Pytester.getpathnode`."""
return self._pyteste... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 137 | getnode | ref | function | return self._pytester.getnode(config, arg)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 139 | getpathnode | def | function | def getpathnode(self, path):
"""See :meth:`Pytester.getpathnode`."""
return self._pytester.getpathnode(path)
def genitems(
self, colitems: List[Union[pytest.Item, pytest.Collector]]
) -> List[pytest.Item]:
"""See :meth:`Pytester.genitems`."""
return self._pytester.ge... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 141 | getpathnode | ref | function | return self._pytester.getpathnode(path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 143 | genitems | def | function | def genitems(
self, colitems: List[Union[pytest.Item, pytest.Collector]]
) -> List[pytest.Item]:
"""See :meth:`Pytester.genitems`."""
return self._pytester.genitems(colitems)
def runitem(self, source):
"""See :meth:`Pytester.runitem`."""
return self._pytester.runitem... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 147 | genitems | ref | function | return self._pytester.genitems(colitems)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 149 | runitem | def | function | def runitem(self, source):
"""See :meth:`Pytester.runitem`."""
return self._pytester.runitem(source)
def inline_runsource(self, source, *cmdlineargs):
"""See :meth:`Pytester.inline_runsource`."""
return self._pytester.inline_runsource(source, *cmdlineargs)
def inline_genite... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 151 | runitem | ref | function | return self._pytester.runitem(source)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 153 | inline_runsource | def | function | def inline_runsource(self, source, *cmdlineargs):
"""See :meth:`Pytester.inline_runsource`."""
return self._pytester.inline_runsource(source, *cmdlineargs)
def inline_genitems(self, *args):
"""See :meth:`Pytester.inline_genitems`."""
return self._pytester.inline_genitems(*args)
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 155 | inline_runsource | ref | function | return self._pytester.inline_runsource(source, *cmdlineargs)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 157 | inline_genitems | def | function | def inline_genitems(self, *args):
"""See :meth:`Pytester.inline_genitems`."""
return self._pytester.inline_genitems(*args)
def inline_run(self, *args, plugins=(), no_reraise_ctrlc: bool = _False):
"""See :meth:`Pytester.inline_run`."""
return self._pytester.inline_run(
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 159 | inline_genitems | ref | function | return self._pytester.inline_genitems(*args)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 161 | inline_run | def | function | null |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 163 | inline_run | ref | function | return self._pytester.inline_run(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 167 | runpytest_inprocess | def | function | def runpytest_inprocess(self, *args, **kwargs) -> pytest.RunResult:
"""See :meth:`Pytester.runpytest_inprocess`."""
return self._pytester.runpytest_inprocess(*args, **kwargs)
def runpytest(self, *args, **kwargs) -> pytest.RunResult:
"""See :meth:`Pytester.runpytest`."""
return s... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 169 | runpytest_inprocess | ref | function | return self._pytester.runpytest_inprocess(*args, **kwargs)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 171 | runpytest | def | function | def runpytest(self, *args, **kwargs) -> pytest.RunResult:
"""See :meth:`Pytester.runpytest`."""
return self._pytester.runpytest(*args, **kwargs)
def parseconfig(self, *args) -> pytest.Config:
"""See :meth:`Pytester.parseconfig`."""
return self._pytester.parseconfig(*args)
d... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 173 | runpytest | ref | function | return self._pytester.runpytest(*args, **kwargs)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 175 | parseconfig | def | function | def parseconfig(self, *args) -> pytest.Config:
"""See :meth:`Pytester.parseconfig`."""
return self._pytester.parseconfig(*args)
def parseconfigure(self, *args) -> pytest.Config:
"""See :meth:`Pytester.parseconfigure`."""
return self._pytester.parseconfigure(*args)
def getit... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 177 | parseconfig | ref | function | return self._pytester.parseconfig(*args)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 179 | parseconfigure | def | function | def parseconfigure(self, *args) -> pytest.Config:
"""See :meth:`Pytester.parseconfigure`."""
return self._pytester.parseconfigure(*args)
def getitem(self, source, funcname="test_func"):
"""See :meth:`Pytester.getitem`."""
return self._pytester.getitem(source, funcname)
def ... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 181 | parseconfigure | ref | function | return self._pytester.parseconfigure(*args)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 183 | getitem | def | function | def getitem(self, source, funcname="test_func"):
"""See :meth:`Pytester.getitem`."""
return self._pytester.getitem(source, funcname)
def getitems(self, source):
"""See :meth:`Pytester.getitems`."""
return self._pytester.getitems(source)
def getmodulecol(self, source, config... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 185 | getitem | ref | function | return self._pytester.getitem(source, funcname)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 187 | getitems | def | function | def getitems(self, source):
"""See :meth:`Pytester.getitems`."""
return self._pytester.getitems(source)
def getmodulecol(self, source, configargs=(), withinit=_False):
"""See :meth:`Pytester.getmodulecol`."""
return self._pytester.getmodulecol(
source, configargs=con... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 189 | getitems | ref | function | return self._pytester.getitems(source)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 191 | getmodulecol | def | function | null |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 193 | getmodulecol | ref | function | return self._pytester.getmodulecol(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 197 | collect_by_name | def | function | def collect_by_name(
self, modcol: pytest.Collector, name: str
) -> Optional[Union[pytest.Item, pytest.Collector]]:
"""See :meth:`Pytester.collect_by_name`."""
return self._pytester.collect_by_name(modcol, name)
def popen(
self,
cmdargs,
stdout=subprocess.PIP... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 201 | collect_by_name | ref | function | return self._pytester.collect_by_name(modcol, name)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 203 | popen | def | function | def popen(
self,
cmdargs,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
stdin=CLOSE_STDIN,
**kw,
):
"""See :meth:`Pytester.popen`."""
return self._pytester.popen(cmdargs, stdout, stderr, stdin, **kw)
def run(self, *cmdargs, timeout=None, std... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 212 | popen | ref | function | return self._pytester.popen(cmdargs, stdout, stderr, stdin, **kw)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 218 | runpython | def | function | def runpython(self, script) -> pytest.RunResult:
"""See :meth:`Pytester.runpython`."""
return self._pytester.runpython(script)
def runpython_c(self, command):
"""See :meth:`Pytester.runpython_c`."""
return self._pytester.runpython_c(command)
def runpytest_subprocess(self, *... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 220 | runpython | ref | function | return self._pytester.runpython(script)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 222 | runpython_c | def | function | def runpython_c(self, command):
"""See :meth:`Pytester.runpython_c`."""
return self._pytester.runpython_c(command)
def runpytest_subprocess(self, *args, timeout=None) -> pytest.RunResult:
"""See :meth:`Pytester.runpytest_subprocess`."""
return self._pytester.runpytest_subprocess... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 224 | runpython_c | ref | function | return self._pytester.runpython_c(command)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 226 | runpytest_subprocess | def | function | def runpytest_subprocess(self, *args, timeout=None) -> pytest.RunResult:
"""See :meth:`Pytester.runpytest_subprocess`."""
return self._pytester.runpytest_subprocess(*args, timeout=timeout)
def spawn_pytest(
self, string: str, expect_timeout: float = 10.0
) -> "pexpect.spawn":
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 228 | runpytest_subprocess | ref | function | return self._pytester.runpytest_subprocess(*args, timeout=timeout)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 230 | spawn_pytest | def | function | def spawn_pytest(
self, string: str, expect_timeout: float = 10.0
) -> "pexpect.spawn":
"""See :meth:`Pytester.spawn_pytest`."""
return self._pytester.spawn_pytest(string, expect_timeout=expect_timeout)
def spawn(self, cmd: str, expect_timeout: float = 10.0) -> "pexpect.spawn":
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 234 | spawn_pytest | ref | function | return self._pytester.spawn_pytest(string, expect_timeout=expect_timeout)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 250 | LegacyTestdirPlugin | def | class | testdir |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 253 | testdir | def | function | def testdir(pytester: pytest.Pytester) -> Testdir:
"""
Identical to :fixture:`pytester`, and provides an instance whose methods return
legacy ``LEGACY_PATH`` objects instead when applicable.
New code should avoid using :fixture:`testdir` in favor of :fixture:`pytester`.
"""
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 260 | Testdir | ref | function | return Testdir(pytester, _ispytest=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 265 | TempdirFactory | def | class | __init__ mktemp getbasetemp |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 274 | check_ispytest | ref | function | check_ispytest(_ispytest)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 277 | mktemp | def | function | null |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 279 | legacy_path | ref | function | return legacy_path(self._tmppath_factory.mktemp(basename, numbered).resolve())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 279 | mktemp | ref | function | return legacy_path(self._tmppath_factory.mktemp(basename, numbered).resolve())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 281 | getbasetemp | def | function | def getbasetemp(self) -> LEGACY_PATH:
"""Backward compat wrapper for ``_tmppath_factory.getbasetemp``."""
return legacy_path(self._tmppath_factory.getbasetemp().resolve())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 283 | legacy_path | ref | function | return legacy_path(self._tmppath_factory.getbasetemp().resolve())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 283 | getbasetemp | ref | function | return legacy_path(self._tmppath_factory.getbasetemp().resolve())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 289 | LegacyTmpdirPlugin | def | class | tmpdir_factory tmpdir |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 291 | fixture | ref | function | @pytest.fixture(scope="session")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 292 | tmpdir_factory | def | function | def tmpdir_factory(request: pytest.FixtureRequest) -> TempdirFactory:
"""Return a :class:`pytest.TempdirFactory` instance for the test session."""
# Set dynamically by pytest_configure().
return request.config._tmpdirhandler # type: ignore
@staticmethod
@pytest.fixture
def tmpd... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 299 | tmpdir | def | function | def tmpdir(tmp_path: Path) -> LEGACY_PATH:
"""Return a temporary directory path object which is unique to each test
function invocation, created as a sub directory of the base temporary
directory.
By default, a new base temporary directory is created each test session,
and o... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 313 | legacy_path | ref | function | return legacy_path(tmp_path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 316 | Cache_makedir | def | function | def Cache_makedir(self: pytest.Cache, name: str) -> LEGACY_PATH:
"""Return a directory path object with the given name.
Same as :func:`mkdir`, but returns a legacy py path instance.
"""
return legacy_path(self.mkdir(name))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 321 | legacy_path | ref | function | return legacy_path(self.mkdir(name))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 324 | FixtureRequest_fspath | def | function | def FixtureRequest_fspath(self: pytest.FixtureRequest) -> LEGACY_PATH:
"""(deprecated) The file system path of the test module which collected this test."""
return legacy_path(self.path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 326 | legacy_path | ref | function | return legacy_path(self.path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 329 | TerminalReporter_startdir | def | function | def TerminalReporter_startdir(self: TerminalReporter) -> LEGACY_PATH:
"""The directory from which pytest was invoked.
Prefer to use ``startpath`` which is a :class:`pathlib.Path`.
:type: LEGACY_PATH
"""
return legacy_path(self.startpath)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 336 | legacy_path | ref | function | return legacy_path(self.startpath)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 339 | Config_invocation_dir | def | function | def Config_invocation_dir(self: pytest.Config) -> LEGACY_PATH:
"""The directory from which pytest was invoked.
Prefer to use :attr:`invocation_params.dir <InvocationParams.dir>`,
which is a :class:`pathlib.Path`.
:type: LEGACY_PATH
"""
return legacy_path(str(self.invocation_params.dir))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 347 | legacy_path | ref | function | return legacy_path(str(self.invocation_params.dir))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 350 | Config_rootdir | def | function | def Config_rootdir(self: pytest.Config) -> LEGACY_PATH:
"""The path to the :ref:`rootdir <rootdir>`.
Prefer to use :attr:`rootpath`, which is a :class:`pathlib.Path`.
:type: LEGACY_PATH
"""
return legacy_path(str(self.rootpath))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 357 | legacy_path | ref | function | return legacy_path(str(self.rootpath))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 360 | Config_inifile | def | function | def Config_inifile(self: pytest.Config) -> Optional[LEGACY_PATH]:
"""The path to the :ref:`configfile <configfiles>`.
Prefer to use :attr:`inipath`, which is a :class:`pathlib.Path`.
:type: Optional[LEGACY_PATH]
"""
return legacy_path(str(self.inipath)) if self.inipath else None
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 367 | legacy_path | ref | function | return legacy_path(str(self.inipath)) if self.inipath else None
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 370 | Session_stardir | def | function | def Session_stardir(self: pytest.Session) -> LEGACY_PATH:
"""The path from which pytest was invoked.
Prefer to use ``startpath`` which is a :class:`pathlib.Path`.
:type: LEGACY_PATH
"""
return legacy_path(self.startpath)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 377 | legacy_path | ref | function | return legacy_path(self.startpath)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 380 | Config__getini_unknown_type | def | function | def Config__getini_unknown_type(
self, name: str, type: str, value: Union[str, List[str]]
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 388 | legacy_path | ref | function | return [legacy_path(str(dp / x)) for x in input_values]
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 393 | Node_fspath | def | function | def Node_fspath(self: Node) -> LEGACY_PATH:
"""(deprecated) returns a legacy_path copy of self.path"""
return legacy_path(self.path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 395 | legacy_path | ref | function | return legacy_path(self.path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/legacypath.py | src/_pytest/legacypath.py | 398 | Node_fspath_set | def | function | def Node_fspath_set(self: Node, value: LEGACY_PATH) -> None:
self.path = Path(value)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.