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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 268 | setenv | ref | function | monkeypatch.setenv("PYTEST_PLUGINS", "nonexisting", prepend=",")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 269 | raises | ref | function | with pytest.raises(ImportError):
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 270 | consider_env | ref | function | pytestpm.consider_env()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 272 | filterwarnings | ref | function | @pytest.mark.filterwarnings("always")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 273 | test_plugin_skip | def | function | def test_plugin_skip(self, pytester: Pytester, monkeypatch: MonkeyPatch) -> None:
p = pytester.makepyfile(
skipping1="""
import pytest
pytest.skip("hello", allow_module_level=_True)
"""
)
shutil.copy(p, p.with_name("skipping2.py"))
monkeypa... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 274 | makepyfile | ref | function | p = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 280 | with_name | ref | function | shutil.copy(p, p.with_name("skipping2.py"))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 281 | setenv | ref | function | monkeypatch.setenv("PYTEST_PLUGINS", "skipping2")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 282 | runpytest | ref | function | result = pytester.runpytest("-p", "skipping1", syspathinsert=True)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 284 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 288 | test_consider_env_plugin_instantiation | def | function | def test_consider_env_plugin_instantiation(
self,
pytester: Pytester,
monkeypatch: MonkeyPatch,
pytestpm: PytestPluginManager,
) -> None:
pytester.syspathinsert()
pytester.makepyfile(xy123="#")
monkeypatch.setitem(os.environ, "PYTEST_PLUGINS", "xy123")
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 294 | syspathinsert | ref | function | pytester.syspathinsert()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 295 | makepyfile | ref | function | pytester.makepyfile(xy123="#")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 296 | setitem | ref | function | monkeypatch.setitem(os.environ, "PYTEST_PLUGINS", "xy123")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 297 | get_plugins | ref | function | l1 = len(pytestpm.get_plugins())
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 298 | consider_env | ref | function | pytestpm.consider_env()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 299 | get_plugins | ref | function | l2 = len(pytestpm.get_plugins())
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 301 | get_plugin | ref | function | assert pytestpm.get_plugin("xy123")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 302 | consider_env | ref | function | pytestpm.consider_env()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 303 | get_plugins | ref | function | l3 = len(pytestpm.get_plugins())
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 306 | test_pluginmanager_ENV_startup | def | function | def test_pluginmanager_ENV_startup(
self, pytester: Pytester, monkeypatch: MonkeyPatch
) -> None:
pytester.makepyfile(pytest_x500="#")
p = pytester.makepyfile(
"""
import pytest
def test_hello(pytestconfig):
plugin = pytestconfig.plugin... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 309 | makepyfile | ref | function | pytester.makepyfile(pytest_x500="#")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 310 | makepyfile | ref | function | p = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 318 | setenv | ref | function | monkeypatch.setenv("PYTEST_PLUGINS", "pytest_x500", prepend=",")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 319 | runpytest | ref | function | result = pytester.runpytest(p, syspathinsert=True)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 321 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 323 | test_import_plugin_importname | def | function | def test_import_plugin_importname(
self, pytester: Pytester, pytestpm: PytestPluginManager
) -> None:
pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwx.y")
pytester.syspathinsert()
pluginname... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 326 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 327 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwx.y")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 329 | syspathinsert | ref | function | pytester.syspathinsert()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 331 | makepyfile | ref | function | pytester.makepyfile(**{pluginname: ""})
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 332 | import_plugin | ref | function | pytestpm.import_plugin("pytest_hello")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 333 | get_plugins | ref | function | len1 = len(pytestpm.get_plugins())
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 334 | import_plugin | ref | function | pytestpm.import_plugin("pytest_hello")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 335 | get_plugins | ref | function | len2 = len(pytestpm.get_plugins())
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 337 | get_plugin | ref | function | plugin1 = pytestpm.get_plugin("pytest_hello")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 339 | get_plugin | ref | function | plugin2 = pytestpm.get_plugin("pytest_hello")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 342 | test_import_plugin_dotted_name | def | function | def test_import_plugin_dotted_name(
self, pytester: Pytester, pytestpm: PytestPluginManager
) -> None:
pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwex.y")
pytester.syspathinsert()
pytester... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 345 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 346 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwex.y")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 348 | syspathinsert | ref | function | pytester.syspathinsert()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 349 | mkpydir | ref | function | pytester.mkpydir("pkg").joinpath("plug.py").write_text("x=3")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 349 | joinpath | ref | function | pytester.mkpydir("pkg").joinpath("plug.py").write_text("x=3")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 349 | write_text | ref | function | pytester.mkpydir("pkg").joinpath("plug.py").write_text("x=3")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 351 | import_plugin | ref | function | pytestpm.import_plugin(pluginname)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 352 | get_plugin | ref | function | mod = pytestpm.get_plugin("pkg.plug")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 355 | test_consider_conftest_deps | def | function | def test_consider_conftest_deps(
self,
pytester: Pytester,
pytestpm: PytestPluginManager,
) -> None:
mod = import_path(
pytester.makepyfile("pytest_plugins='xyz'"), root=pytester.path
)
with pytest.raises(ImportError):
pytestpm.consider_con... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 360 | import_path | ref | function | mod = import_path(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 361 | makepyfile | ref | function | pytester.makepyfile("pytest_plugins='xyz'"), root=pytester.path
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 363 | raises | ref | function | with pytest.raises(ImportError):
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 364 | consider_conftest | ref | function | pytestpm.consider_conftest(mod)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 367 | TestPytestPluginManagerBootstrapming | def | class | test_preparse_args test_plugin_prevent_register test_plugin_prevent_register_unregistered_alredy_registered test_plugin_prevent_register_stepwise_on_cacheprovider_unregister test_blocked_plugin_can_be_used |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 368 | test_preparse_args | def | function | def test_preparse_args(self, pytestpm: PytestPluginManager) -> None:
pytest.raises(
ImportError, lambda: pytestpm.consider_preparse(["xyz", "-p", "hello123"])
)
# Handles -p without space (#3532).
with pytest.raises(ImportError) as excinfo:
pytestpm.consider_... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 369 | raises | ref | function | pytest.raises(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 370 | consider_preparse | ref | function | ImportError, lambda: pytestpm.consider_preparse(["xyz", "-p", "hello123"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 374 | raises | ref | function | with pytest.raises(ImportError) as excinfo:
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 375 | consider_preparse | ref | function | pytestpm.consider_preparse(["-phello123"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 377 | consider_preparse | ref | function | pytestpm.consider_preparse(["-pno:hello123"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 380 | consider_preparse | ref | function | pytestpm.consider_preparse(["-p"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 382 | raises | ref | function | with pytest.raises(UsageError, match="^plugin main cannot be disabled$"):
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 383 | consider_preparse | ref | function | pytestpm.consider_preparse(["-p", "no:main"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 385 | test_plugin_prevent_register | def | function | def test_plugin_prevent_register(self, pytestpm: PytestPluginManager) -> None:
pytestpm.consider_preparse(["xyz", "-p", "no:abc"])
l1 = pytestpm.get_plugins()
pytestpm.register(42, name="abc")
l2 = pytestpm.get_plugins()
assert len(l2) == len(l1)
assert 42 not in l2
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 386 | consider_preparse | ref | function | pytestpm.consider_preparse(["xyz", "-p", "no:abc"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 387 | get_plugins | ref | function | l1 = pytestpm.get_plugins()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 388 | register | ref | function | pytestpm.register(42, name="abc")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 389 | get_plugins | ref | function | l2 = pytestpm.get_plugins()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 393 | test_plugin_prevent_register_unregistered_alredy_registered | def | function | def test_plugin_prevent_register_unregistered_alredy_registered(
self, pytestpm: PytestPluginManager
) -> None:
pytestpm.register(42, name="abc")
l1 = pytestpm.get_plugins()
assert 42 in l1
pytestpm.consider_preparse(["xyz", "-p", "no:abc"])
l2 = pytestpm.get_plug... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 396 | register | ref | function | pytestpm.register(42, name="abc")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 397 | get_plugins | ref | function | l1 = pytestpm.get_plugins()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 399 | consider_preparse | ref | function | pytestpm.consider_preparse(["xyz", "-p", "no:abc"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 400 | get_plugins | ref | function | l2 = pytestpm.get_plugins()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 403 | test_plugin_prevent_register_stepwise_on_cacheprovider_unregister | def | function | def test_plugin_prevent_register_stepwise_on_cacheprovider_unregister(
self, pytestpm: PytestPluginManager
) -> None:
"""From PR #4304: The only way to unregister a module is documented at
the end of https://docs.pytest.org/en/stable/how-to/plugins.html.
When unregister cachepro... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 411 | register | ref | function | pytestpm.register(42, name="cacheprovider")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 412 | register | ref | function | pytestpm.register(43, name="stepwise")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 413 | get_plugins | ref | function | l1 = pytestpm.get_plugins()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 416 | consider_preparse | ref | function | pytestpm.consider_preparse(["xyz", "-p", "no:cacheprovider"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 417 | get_plugins | ref | function | l2 = pytestpm.get_plugins()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 421 | test_blocked_plugin_can_be_used | def | function | def test_blocked_plugin_can_be_used(self, pytestpm: PytestPluginManager) -> None:
pytestpm.consider_preparse(["xyz", "-p", "no:abc", "-p", "abc"])
assert pytestpm.has_plugin("abc")
assert not pytestpm.is_blocked("abc")
assert not pytestpm.is_blocked("pytest_abc")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 422 | consider_preparse | ref | function | pytestpm.consider_preparse(["xyz", "-p", "no:abc", "-p", "abc"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 424 | has_plugin | ref | function | assert pytestpm.has_plugin("abc")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 425 | is_blocked | ref | function | assert not pytestpm.is_blocked("abc")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 426 | is_blocked | ref | function | assert not pytestpm.is_blocked("pytest_abc")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 22 | test_make_hook_recorder | def | function | def test_make_hook_recorder(pytester: Pytester) -> None:
item = pytester.getitem("def test_func(): pass")
recorder = pytester.make_hook_recorder(item.config.pluginmanager)
assert not recorder.getfailures()
# (The silly condition is to fool mypy that the code below this is reachable)
if 1 + 1 == 2:
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 23 | getitem | ref | function | item = pytester.getitem("def test_func(): pass")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 24 | make_hook_recorder | ref | function | recorder = pytester.make_hook_recorder(item.config.pluginmanager)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 25 | getfailures | ref | function | assert not recorder.getfailures()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 29 | xfail | ref | function | pytest.xfail("internal reportrecorder tests need refactoring")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 31 | rep | def | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 38 | pytest_runtest_logreport | ref | function | recorder.hook.pytest_runtest_logreport(report=rep) # type: ignore[attr-defined]
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 39 | getfailures | ref | function | failures = recorder.getfailures()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 41 | getfailures | ref | function | failures = recorder.getfailures()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 44 | rep2 | def | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 53 | pytest_runtest_logreport | ref | function | recorder.hook.pytest_runtest_logreport(report=rep2) # type: ignore[attr-defined]
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 55 | getmodulecol | ref | function | modcol = pytester.getmodulecol("")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 56 | pytest_make_collect_report | ref | function | rep3 = modcol.config.hook.pytest_make_collect_report(collector=modcol)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 60 | pytest_collectreport | ref | function | recorder.hook.pytest_collectreport(report=rep3) # type: ignore[attr-defined]
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 62 | listoutcomes | ref | function | passed, skipped, failed = recorder.listoutcomes()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 65 | countoutcomes | ref | function | numpassed, numskipped, numfailed = recorder.countoutcomes()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 69 | getfailedcollections | ref | function | assert len(recorder.getfailedcollections()) == 1
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_pytester.py | testing/test_pytester.py | 71 | unregister | ref | function | recorder.unregister() # type: ignore[attr-defined]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.