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/testing/test_terminal.py | testing/test_terminal.py | 1,581 | test_tbstyle_native_setup_error | def | function | def test_tbstyle_native_setup_error(pytester: Pytester) -> None:
pytester.makepyfile(
"""
import pytest
@pytest.fixture
def setup_error_fixture():
raise Exception("error in exception")
def test_error_fixture(setup_error_fixture):
pass
"""
)
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,582 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,593 | runpytest | ref | function | result = pytester.runpytest("--tb=native")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,594 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,599 | test_terminal_summary | def | function | def test_terminal_summary(pytester: Pytester) -> None:
pytester.makeconftest(
"""
def pytest_terminal_summary(terminalreporter, exitstatus):
w = terminalreporter
w.section("hello")
w.line("world")
w.line("exitstatus: {0}".format(exitstatus))
"""
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,600 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,609 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,610 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,619 | filterwarnings | ref | function | @pytest.mark.filterwarnings("default::UserWarning")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,620 | test_terminal_summary_warnings_are_displayed | def | function | def test_terminal_summary_warnings_are_displayed(pytester: Pytester) -> None:
"""Test that warnings emitted during pytest_terminal_summary are displayed.
(#1305).
"""
pytester.makeconftest(
"""
import warnings
def pytest_terminal_summary(terminalreporter):
warnings.wa... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,624 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,631 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,639 | runpytest | ref | function | result = pytester.runpytest("-ra")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,640 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,650 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*None*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,656 | filterwarnings | ref | function | @pytest.mark.filterwarnings("default::UserWarning")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,657 | test_terminal_summary_warnings_header_once | def | function | def test_terminal_summary_warnings_header_once(pytester: Pytester) -> None:
pytester.makepyfile(
"""
def test_failure():
import warnings
warnings.warn("warning_from_" + "test")
assert 0
"""
)
result = pytester.runpytest("-ra")
result.stdout.fnmatch... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,658 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,666 | runpytest | ref | function | result = pytester.runpytest("-ra")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,667 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,675 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*None*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,681 | filterwarnings | ref | function | @pytest.mark.filterwarnings("default")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,682 | test_terminal_no_summary_warnings_header_once | def | function | def test_terminal_no_summary_warnings_header_once(pytester: Pytester) -> None:
pytester.makepyfile(
"""
def test_failure():
import warnings
warnings.warn("warning_from_" + "test")
assert 0
"""
)
result = pytester.runpytest("--no-summary")
result.st... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,683 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,691 | runpytest | ref | function | result = pytester.runpytest("--no-summary")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,692 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*= warnings summary =*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,693 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*= short test summary info =*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,696 | fixture | ref | function | @pytest.fixture(scope="session")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,697 | tr | def | function | def tr() -> TerminalReporter:
config = _pytest.config._prepareconfig()
return TerminalReporter(config)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,698 | _prepareconfig | ref | function | config = _pytest.config._prepareconfig()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,699 | TerminalReporter | ref | function | return TerminalReporter(config)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,702 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,832 | test_summary_stats | def | function | def test_summary_stats(
tr: TerminalReporter,
exp_line: List[Tuple[str, Dict[str, bool]]],
exp_color: str,
stats_arg: Dict[str, List[object]],
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,841 | fake_session | def | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,852 | build_summary_stats_line | ref | function | (line, color) = tr.build_summary_stats_line()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,858 | test_skip_counting_towards_summary | def | function | def test_skip_counting_towards_summary(tr):
class DummyReport(BaseReport):
count_towards_summary = _True
r1 = DummyReport()
r2 = DummyReport()
tr.stats = {"failed": (r1, r2)}
tr._main_color = None
res = tr.build_summary_stats_line()
assert res == ([("2 failed", {"bold": _True, "red"... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,859 | DummyReport | def | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,862 | DummyReport | ref | function | r1 = DummyReport()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,863 | DummyReport | ref | function | r2 = DummyReport()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,866 | build_summary_stats_line | ref | function | res = tr.build_summary_stats_line()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,872 | build_summary_stats_line | ref | function | res = tr.build_summary_stats_line()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,876 | TestClassicOutputStyle | def | class | test_files test_normal_verbosity test_verbose test_quiet |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,880 | test_files | def | function | def test_files(self, pytester: Pytester) -> None:
pytester.makepyfile(
**{
"test_one.py": "def test_one(): pass",
"test_two.py": "def test_two(): assert 0",
"sub/test_three.py": """
def test_three_1(): pass
d... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,881 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,893 | test_normal_verbosity | def | function | def test_normal_verbosity(self, pytester: Pytester, test_files) -> None:
result = pytester.runpytest("-o", "console_output_style=classic")
result.stdout.fnmatch_lines(
[
"test_one.py .",
"test_two.py F",
f"sub{os.sep}test_three.py .F.",
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,894 | runpytest | ref | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,895 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,904 | test_verbose | def | function | def test_verbose(self, pytester: Pytester, test_files) -> None:
result = pytester.runpytest("-o", "console_output_style=classic", "-v")
result.stdout.fnmatch_lines(
[
"test_one.py::test_one PASSED",
"test_two.py::test_two FAILED",
f"sub{os.... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,905 | runpytest | ref | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,906 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,917 | test_quiet | def | function | def test_quiet(self, pytester: Pytester, test_files) -> None:
result = pytester.runpytest("-o", "console_output_style=classic", "-q")
result.stdout.fnmatch_lines([".F.F.", "*2 failed, 3 passed in*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,918 | runpytest | ref | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,919 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines([".F.F.", "*2 failed, 3 passed in*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,922 | TestProgressOutputStyle | def | class | many_tests_files test_zero_tests_collected test_normal test_colored_progress test_count test_verbose test_verbose_count test_xdist_normal test_xdist_normal_count test_xdist_verbose test_capture_no |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,924 | many_tests_files | def | function | def many_tests_files(self, pytester: Pytester) -> None:
pytester.makepyfile(
test_bar="""
import pytest
@pytest.mark.parametrize('i', range(10))
def test_bar(i): pass
""",
test_foo="""
import pytest
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,925 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,943 | test_zero_tests_collected | def | function | def test_zero_tests_collected(self, pytester: Pytester) -> None:
"""Some plugins (testmon for example) might issue pytest_runtest_logreport without any tests being
actually collected (#2971)."""
pytester.makeconftest(
"""
def pytest_collection_modifyitems(items, config):
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,946 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,957 | runpytest | ref | function | output = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,958 | no_fnmatch_line | ref | function | output.stdout.no_fnmatch_line("*ZeroDivisionError*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,959 | fnmatch_lines | ref | function | output.stdout.fnmatch_lines(["=* 2 passed in *="])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,961 | test_normal | def | function | def test_normal(self, many_tests_files, pytester: Pytester) -> None:
output = pytester.runpytest()
output.stdout.re_match_lines(
[
r"test_bar.py \.{10} \s+ \[ 50%\]",
r"test_foo.py \.{5} \s+ \[ 75%\]",
r"test_foobar.py \.{5} \s+ \[100%\]",
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,962 | runpytest | ref | function | output = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,963 | re_match_lines | ref | function | output.stdout.re_match_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,971 | test_colored_progress | def | function | def test_colored_progress(
self, pytester: Pytester, monkeypatch, color_mapping
) -> None:
monkeypatch.setenv("PY_COLORS", "1")
pytester.makepyfile(
test_axfail="""
import pytest
@pytest.mark.xfail
def test_axfail(): assert 0
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,974 | setenv | ref | function | monkeypatch.setenv("PY_COLORS", "1")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,975 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,000 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,001 | re_match_lines | ref | function | result.stdout.re_match_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,002 | format_for_rematch | ref | function | color_mapping.format_for_rematch(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,013 | runpytest | ref | function | result = pytester.runpytest("test_axfail.py")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,014 | re_match_lines | ref | function | result.stdout.re_match_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,015 | format_for_rematch | ref | function | color_mapping.format_for_rematch(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,023 | test_count | def | function | def test_count(self, many_tests_files, pytester: Pytester) -> None:
pytester.makeini(
"""
[pytest]
console_output_style = count
"""
)
output = pytester.runpytest()
output.stdout.re_match_lines(
[
r"test_bar.py \.... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,024 | makeini | ref | function | pytester.makeini(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,030 | runpytest | ref | function | output = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,031 | re_match_lines | ref | function | output.stdout.re_match_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,039 | test_verbose | def | function | def test_verbose(self, many_tests_files, pytester: Pytester) -> None:
output = pytester.runpytest("-v")
output.stdout.re_match_lines(
[
r"test_bar.py::test_bar\[0\] PASSED \s+ \[ 5%\]",
r"test_foo.py::test_foo\[4\] PASSED \s+ \[ 75%\]",
r"... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,040 | runpytest | ref | function | output = pytester.runpytest("-v")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,041 | re_match_lines | ref | function | output.stdout.re_match_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,049 | test_verbose_count | def | function | def test_verbose_count(self, many_tests_files, pytester: Pytester) -> None:
pytester.makeini(
"""
[pytest]
console_output_style = count
"""
)
output = pytester.runpytest("-v")
output.stdout.re_match_lines(
[
r"te... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,050 | makeini | ref | function | pytester.makeini(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,056 | runpytest | ref | function | output = pytester.runpytest("-v")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,057 | re_match_lines | ref | function | output.stdout.re_match_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,065 | test_xdist_normal | def | function | def test_xdist_normal(
self, many_tests_files, pytester: Pytester, monkeypatch
) -> None:
pytest.importorskip("xdist")
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=_False)
output = pytester.runpytest("-n2")
output.stdout.re_match_lines([r"\.{20} \s+ \[100%... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,068 | importorskip | ref | function | pytest.importorskip("xdist")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,069 | delenv | ref | function | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,070 | runpytest | ref | function | output = pytester.runpytest("-n2")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,071 | re_match_lines | ref | function | output.stdout.re_match_lines([r"\.{20} \s+ \[100%\]"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,073 | test_xdist_normal_count | def | function | def test_xdist_normal_count(
self, many_tests_files, pytester: Pytester, monkeypatch
) -> None:
pytest.importorskip("xdist")
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=_False)
pytester.makeini(
"""
[pytest]
console_output_styl... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,076 | importorskip | ref | function | pytest.importorskip("xdist")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,077 | delenv | ref | function | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,078 | makeini | ref | function | pytester.makeini(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,084 | runpytest | ref | function | output = pytester.runpytest("-n2")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,085 | re_match_lines | ref | function | output.stdout.re_match_lines([r"\.{20} \s+ \[20/20\]"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,087 | test_xdist_verbose | def | function | def test_xdist_verbose(
self, many_tests_files, pytester: Pytester, monkeypatch
) -> None:
pytest.importorskip("xdist")
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=_False)
output = pytester.runpytest("-n2", "-v")
output.stdout.re_match_lines_random(
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,090 | importorskip | ref | function | pytest.importorskip("xdist")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,091 | delenv | ref | function | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,092 | runpytest | ref | function | output = pytester.runpytest("-n2", "-v")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 2,093 | re_match_lines_random | ref | function | output.stdout.re_match_lines_random(
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.