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_terminal.py | testing/test_terminal.py | 1,324 | test_tbstyle_short | def | function | def test_tbstyle_short(pytester: Pytester) -> None:
p = pytester.makepyfile(
"""
import pytest
@pytest.fixture
def arg(request):
return 42
def test_opt(arg):
x = 0
assert x
"""
)
result = pytester.runpytest("--tb=short")
s ... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,325 | makepyfile | ref | function | p = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,337 | runpytest | ref | function | result = pytester.runpytest("--tb=short")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,341 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*%s:8*" % p.name, " assert x", "E assert*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,342 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,348 | test_traceconfig | def | function | def test_traceconfig(pytester: Pytester) -> None:
result = pytester.runpytest("--traceconfig")
result.stdout.fnmatch_lines(["*active plugins*"])
assert result.ret == ExitCode.NO_TESTS_COLLECTED
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,349 | runpytest | ref | function | result = pytester.runpytest("--traceconfig")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,350 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*active plugins*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,354 | TestGenericReporting | def | class | test_collect_fail test_maxfailures test_maxfailures_with_interrupted test_tb_option test_tb_crashline test_pytest_report_header test_show_capture test_show_capture_with_teardown_logs |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,358 | test_collect_fail | def | function | def test_collect_fail(self, pytester: Pytester, option) -> None:
pytester.makepyfile("import xyz\n")
result = pytester.runpytest(*option.args)
result.stdout.fnmatch_lines(
["ImportError while importing*", "*No module named *xyz*", "*1 error*"]
)
def test_maxfailures(... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,359 | makepyfile | ref | function | pytester.makepyfile("import xyz\n")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,360 | runpytest | ref | function | result = pytester.runpytest(*option.args)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,361 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,365 | test_maxfailures | def | function | def test_maxfailures(self, pytester: Pytester, option) -> None:
pytester.makepyfile(
"""
def test_1():
assert 0
def test_2():
assert 0
def test_3():
assert 0
"""
)
result = pytester.runpyt... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,366 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,376 | runpytest | ref | function | result = pytester.runpytest("--maxfail=2", *option.args)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,377 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,386 | test_maxfailures_with_interrupted | def | function | def test_maxfailures_with_interrupted(self, pytester: Pytester) -> None:
pytester.makepyfile(
"""
def test(request):
request.session.shouldstop = "session_interrupted"
assert 0
"""
)
result = pytester.runpytest("--maxfail=1", "-... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,387 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,394 | runpytest | ref | function | result = pytester.runpytest("--maxfail=1", "-ra")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,395 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,405 | test_tb_option | def | function | def test_tb_option(self, pytester: Pytester, option) -> None:
pytester.makepyfile(
"""
import pytest
def g():
raise IndexError
def test_func():
print(6*7)
g() # --calling--
"""
)
for tbop... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,406 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,418 | runpytest | ref | function | result = pytester.runpytest("-rN", "--tb=%s" % tbopt)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,432 | test_tb_crashline | def | function | def test_tb_crashline(self, pytester: Pytester, option) -> None:
p = pytester.makepyfile(
"""
import pytest
def g():
raise IndexError
def test_func1():
print(6*7)
g() # --calling--
def test_func2():
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,433 | makepyfile | ref | function | p = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,445 | runpytest | ref | function | result = pytester.runpytest("--tb=line")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,447 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,453 | test_pytest_report_header | def | function | def test_pytest_report_header(self, pytester: Pytester, option) -> None:
pytester.makeconftest(
"""
def pytest_sessionstart(session):
session.config._somevalue = 42
def pytest_report_header(config):
return "hello: %s" % config._somevalue
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,454 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,468 | runpytest | ref | function | result = pytester.runpytest("a")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,469 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*hello: 42*", "line1", str(pytester.path)])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,471 | test_show_capture | def | function | def test_show_capture(self, pytester: Pytester) -> None:
pytester.makepyfile(
"""
import sys
import logging
def test_one():
sys.stdout.write('!This is stdout!')
sys.stderr.write('!This is stderr!')
logging.warnin... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,472 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,484 | runpytest | ref | function | result = pytester.runpytest("--tb=short")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,485 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,493 | runpytest | ref | function | result = pytester.runpytest("--show-capture=all", "--tb=short")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,494 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,502 | runpytest | ref | function | stdout = pytester.runpytest("--show-capture=stdout", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,507 | runpytest | ref | function | stdout = pytester.runpytest("--show-capture=stderr", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,512 | runpytest | ref | function | stdout = pytester.runpytest("--show-capture=log", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,517 | runpytest | ref | function | stdout = pytester.runpytest("--show-capture=no", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,522 | test_show_capture_with_teardown_logs | def | function | def test_show_capture_with_teardown_logs(self, pytester: Pytester) -> None:
"""Ensure that the capturing of teardown logs honor --show-capture setting"""
pytester.makepyfile(
"""
import logging
import sys
import pytest
@pytest.fixture(scop... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,524 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,542 | runpytest | ref | function | result = pytester.runpytest("--show-capture=stdout", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,547 | runpytest | ref | function | result = pytester.runpytest("--show-capture=stderr", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,552 | runpytest | ref | function | result = pytester.runpytest("--show-capture=log", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,557 | runpytest | ref | function | result = pytester.runpytest("--show-capture=no", "--tb=short").stdout.str()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,563 | xfail | ref | function | @pytest.mark.xfail("not hasattr(os, 'dup')")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,564 | test_fdopen_kept_alive_issue124 | def | function | def test_fdopen_kept_alive_issue124(pytester: Pytester) -> None:
pytester.makepyfile(
"""
import os, sys
k = []
def test_open_file_and_keep_alive(capfd):
stdout = os.fdopen(1, 'w', 1)
k.append(stdout)
def test_close_kept_alive_file():
stdo... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,565 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,578 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,579 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,582 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,583 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,594 | runpytest | ref | function | result = pytester.runpytest("--tb=native")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,595 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,600 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,601 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,610 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,611 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,620 | filterwarnings | ref | function | @pytest.mark.filterwarnings("default::UserWarning")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,621 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,625 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,632 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,640 | runpytest | ref | function | result = pytester.runpytest("-ra")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,641 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,651 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*None*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,657 | filterwarnings | ref | function | @pytest.mark.filterwarnings("default::UserWarning")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,658 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,659 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,667 | runpytest | ref | function | result = pytester.runpytest("-ra")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,668 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,676 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*None*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,682 | filterwarnings | ref | function | @pytest.mark.filterwarnings("default")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,683 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,684 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,692 | runpytest | ref | function | result = pytester.runpytest("--no-summary")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,693 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*= warnings summary =*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,694 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*= short test summary info =*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,697 | fixture | ref | function | @pytest.fixture(scope="session")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,698 | tr | def | function | def tr() -> TerminalReporter:
config = _pytest.config._prepareconfig()
return TerminalReporter(config)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,699 | _prepareconfig | ref | function | config = _pytest.config._prepareconfig()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,700 | TerminalReporter | ref | function | return TerminalReporter(config)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,703 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,833 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,842 | fake_session | def | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,853 | build_summary_stats_line | ref | function | (line, color) = tr.build_summary_stats_line()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,859 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,860 | DummyReport | def | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,863 | DummyReport | ref | function | r1 = DummyReport()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,864 | DummyReport | ref | function | r2 = DummyReport()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,867 | build_summary_stats_line | ref | function | res = tr.build_summary_stats_line()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,873 | build_summary_stats_line | ref | function | res = tr.build_summary_stats_line()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,877 | TestClassicOutputStyle | def | class | test_files test_normal_verbosity test_verbose test_quiet |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,881 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,882 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,894 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,895 | runpytest | ref | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,896 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.