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/terminal.py | src/_pytest/terminal.py | 708 | _write_report_lines_from_hooks | def | function | def _write_report_lines_from_hooks(
self, lines: Sequence[Union[str, Sequence[str]]]
) -> None:
for line_or_lines in reversed(lines):
if isinstance(line_or_lines, str):
self.write_line(line_or_lines)
else:
for line in line_or_lines:
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 713 | write_line | ref | function | self.write_line(line_or_lines)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 716 | write_line | ref | function | self.write_line(line)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 718 | pytest_report_header | def | function | def pytest_report_header(self, config: Config) -> List[str]:
line = "rootdir: %s" % config.rootpath
if config.inipath:
line += ", configfile: " + bestrelpath(config.rootpath, config.inipath)
testpaths: List[str] = config.getini("testpaths")
if config.invocation_params.d... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 722 | bestrelpath | ref | function | line += ", configfile: " + bestrelpath(config.rootpath, config.inipath)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 724 | getini | ref | function | testpaths: List[str] = config.getini("testpaths")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 730 | list_plugin_distinfo | ref | function | plugininfo = config.pluginmanager.list_plugin_distinfo()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 732 | _plugin_nameversions | ref | function | result.append("plugins: %s" % ", ".join(_plugin_nameversions(plugininfo)))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 735 | pytest_collection_finish | def | function | def pytest_collection_finish(self, session: "Session") -> None:
self.report_collect(_True)
lines = self.config.hook.pytest_report_collectionfinish(
config=self.config,
startpath=self.startpath,
items=session.items,
)
self._write_report_lines_from_... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 736 | report_collect | ref | function | self.report_collect(True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 738 | pytest_report_collectionfinish | ref | function | lines = self.config.hook.pytest_report_collectionfinish(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 743 | _write_report_lines_from_hooks | ref | function | self._write_report_lines_from_hooks(lines)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 745 | getoption | ref | function | if self.config.getoption("collectonly"):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 748 | line | ref | function | self._tw.line("")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 749 | _printcollecteditems | ref | function | self._printcollecteditems(session.items)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 753 | sep | ref | function | self._tw.sep("!", "collection failures")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 755 | toterminal | ref | function | rep.toterminal(self._tw)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 757 | _printcollecteditems | def | function | def _printcollecteditems(self, items: Sequence[Item]) -> None:
if self.config.option.verbose < 0:
if self.config.option.verbose < -1:
counts = Counter(item.nodeid.split("::", 1)[0] for item in items)
for name, count in sorted(counts.items()):
s... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 762 | line | ref | function | self._tw.line("%s: %d" % (name, count))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 765 | line | ref | function | self._tw.line(item.nodeid)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 770 | listchain | ref | function | needed_collectors = item.listchain()[1:] # strip root node
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 778 | line | ref | function | self._tw.line(f"{indent}{col}")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 784 | line | ref | function | self._tw.line("{}{}".format(indent + " ", line))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 786 | hookimpl | ref | function | @hookimpl(hookwrapper=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 787 | pytest_sessionfinish | def | function | def pytest_sessionfinish(
self, session: "Session", exitstatus: Union[int, ExitCode]
):
outcome = yield
outcome.get_result()
self._tw.line("")
summary_exit_codes = (
ExitCode.OK,
ExitCode.TESTS_FAILED,
ExitCode.INTERRUPTED,
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 791 | get_result | ref | function | outcome.get_result()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 792 | line | ref | function | self._tw.line("")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 801 | pytest_terminal_summary | ref | function | self.config.hook.pytest_terminal_summary(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 805 | write_sep | ref | function | self.write_sep("!", str(session.shouldfail), red=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 807 | _report_keyboardinterrupt | ref | function | self._report_keyboardinterrupt()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 810 | write_sep | ref | function | self.write_sep("!", str(session.shouldstop), red=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 811 | summary_stats | ref | function | self.summary_stats()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 813 | hookimpl | ref | function | @hookimpl(hookwrapper=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 814 | pytest_terminal_summary | def | function | def pytest_terminal_summary(self) -> Generator[None, None, None]:
self.summary_errors()
self.summary_failures()
self.summary_warnings()
self.summary_passes()
yield
self.short_test_summary()
# Display any extra warnings from teardown here (if any).
self... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 815 | summary_errors | ref | function | self.summary_errors()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 816 | summary_failures | ref | function | self.summary_failures()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 817 | summary_warnings | ref | function | self.summary_warnings()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 818 | summary_passes | ref | function | self.summary_passes()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 820 | short_test_summary | ref | function | self.short_test_summary()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 822 | summary_warnings | ref | function | self.summary_warnings()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 824 | pytest_keyboard_interrupt | def | function | def pytest_keyboard_interrupt(self, excinfo: ExceptionInfo[BaseException]) -> None:
self._keyboardinterrupt_memo = excinfo.getrepr(funcargs=_True)
def pytest_unconfigure(self) -> None:
if self._keyboardinterrupt_memo is not None:
self._report_keyboardinterrupt()
def _report_key... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 825 | getrepr | ref | function | self._keyboardinterrupt_memo = excinfo.getrepr(funcargs=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 827 | pytest_unconfigure | def | function | def pytest_unconfigure(self) -> None:
if self._keyboardinterrupt_memo is not None:
self._report_keyboardinterrupt()
def _report_keyboardinterrupt(self) -> None:
excrepr = self._keyboardinterrupt_memo
assert excrepr is not None
assert excrepr.reprcrash is not None
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 829 | _report_keyboardinterrupt | ref | function | self._report_keyboardinterrupt()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 831 | _report_keyboardinterrupt | def | function | def _report_keyboardinterrupt(self) -> None:
excrepr = self._keyboardinterrupt_memo
assert excrepr is not None
assert excrepr.reprcrash is not None
msg = excrepr.reprcrash.message
self.write_sep("!", msg)
if "KeyboardInterrupt" in msg:
if self.config.optio... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 836 | write_sep | ref | function | self.write_sep("!", msg)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 839 | toterminal | ref | function | excrepr.toterminal(self._tw)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 841 | toterminal | ref | function | excrepr.reprcrash.toterminal(self._tw)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 842 | line | ref | function | self._tw.line(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 847 | _locationline | def | function | def _locationline(
self, nodeid: str, fspath: str, lineno: Optional[int], domain: str
) -> str:
def mkrel(nodeid: str) -> str:
line = self.config.cwd_relative_nodeid(nodeid)
if domain and line.endswith(domain):
line = line[: -len(domain)]
v... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 850 | mkrel | def | function | def mkrel(nodeid: str) -> str:
line = self.config.cwd_relative_nodeid(nodeid)
if domain and line.endswith(domain):
line = line[: -len(domain)]
values = domain.split("[")
values[0] = values[0].replace(".", "::") # don't replace '.' in param... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 851 | cwd_relative_nodeid | ref | function | line = self.config.cwd_relative_nodeid(nodeid)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 861 | mkrel | ref | function | res = mkrel(nodeid)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 865 | bestrelpath | ref | function | res += " <- " + bestrelpath(self.startpath, Path(fspath))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 870 | _getfailureheadline | def | function | def _getfailureheadline(self, rep):
head_line = rep.head_line
if head_line:
return head_line
return "test session" # XXX?
def _getcrashline(self, rep):
try:
return str(rep.longrepr.reprcrash)
except AttributeError:
try:
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 876 | _getcrashline | def | function | def _getcrashline(self, rep):
try:
return str(rep.longrepr.reprcrash)
except AttributeError:
try:
return str(rep.longrepr)[:50]
except AttributeError:
return ""
#
# Summaries for sessionfinish.
#
def getreports(self... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 888 | getreports | def | function | def getreports(self, name: str):
return [x for x in self.stats.get(name, ()) if not hasattr(x, "_pdbshown")]
def summary_warnings(self) -> None:
if self.hasopt("w"):
all_warnings: Optional[List[WarningReport]] = self.stats.get("warnings")
if not all_warnings:
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 891 | summary_warnings | def | function | def summary_warnings(self) -> None:
if self.hasopt("w"):
all_warnings: Optional[List[WarningReport]] = self.stats.get("warnings")
if not all_warnings:
return
final = self._already_displayed_warnings is not None
if final:
warnin... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 892 | hasopt | ref | function | if self.hasopt("w"):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 910 | collapsed_location_report | def | function | def collapsed_location_report(reports: List[WarningReport]) -> str:
locations = []
for w in reports:
location = w.get_location(self.config)
if location:
locations.append(location)
if len(location... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 913 | get_location | ref | function | location = w.get_location(self.config)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 929 | write_sep | ref | function | self.write_sep("=", title, yellow=True, bold=False)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 931 | collapsed_location_report | ref | function | maybe_location = collapsed_location_report(message_reports)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 933 | line | ref | function | self._tw.line(maybe_location)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 939 | line | ref | function | self._tw.line(message)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 940 | line | ref | function | self._tw.line()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 941 | line | ref | function | self._tw.line(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 945 | summary_passes | def | function | def summary_passes(self) -> None:
if self.config.option.tbstyle != "no":
if self.hasopt("P"):
reports: List[TestReport] = self.getreports("passed")
if not reports:
return
self.write_sep("=", "PASSES")
for rep in ... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 947 | hasopt | ref | function | if self.hasopt("P"):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 948 | getreports | ref | function | reports: List[TestReport] = self.getreports("passed")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 951 | write_sep | ref | function | self.write_sep("=", "PASSES")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 954 | _getfailureheadline | ref | function | msg = self._getfailureheadline(rep)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 955 | write_sep | ref | function | self.write_sep("_", msg, green=True, bold=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 956 | _outrep_summary | ref | function | self._outrep_summary(rep)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 957 | _handle_teardown_sections | ref | function | self._handle_teardown_sections(rep.nodeid)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 959 | _get_teardown_reports | def | function | def _get_teardown_reports(self, nodeid: str) -> List[TestReport]:
reports = self.getreports("")
return [
report
for report in reports
if report.when == "teardown" and report.nodeid == nodeid
]
def _handle_teardown_sections(self, nodeid: str) -> None:
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 960 | getreports | ref | function | reports = self.getreports("")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 967 | _handle_teardown_sections | def | function | def _handle_teardown_sections(self, nodeid: str) -> None:
for report in self._get_teardown_reports(nodeid):
self.print_teardown_sections(report)
def print_teardown_sections(self, rep: TestReport) -> None:
showcapture = self.config.option.showcapture
if showcapture == "no":
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 968 | _get_teardown_reports | ref | function | for report in self._get_teardown_reports(nodeid):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 969 | print_teardown_sections | ref | function | self.print_teardown_sections(report)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 971 | print_teardown_sections | def | function | def print_teardown_sections(self, rep: TestReport) -> None:
showcapture = self.config.option.showcapture
if showcapture == "no":
return
for secname, content in rep.sections:
if showcapture != "all" and showcapture not in secname:
continue
i... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 979 | sep | ref | function | self._tw.sep("-", secname)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 982 | line | ref | function | self._tw.line(content)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 984 | summary_failures | def | function | def summary_failures(self) -> None:
if self.config.option.tbstyle != "no":
reports: List[BaseReport] = self.getreports("failed")
if not reports:
return
self.write_sep("=", "FAILURES")
if self.config.option.tbstyle == "line":
for... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 986 | getreports | ref | function | reports: List[BaseReport] = self.getreports("failed")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 989 | write_sep | ref | function | self.write_sep("=", "FAILURES")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 992 | _getcrashline | ref | function | line = self._getcrashline(rep)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 993 | write_line | ref | function | self.write_line(line)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 996 | _getfailureheadline | ref | function | msg = self._getfailureheadline(rep)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 997 | write_sep | ref | function | self.write_sep("_", msg, red=True, bold=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 998 | _outrep_summary | ref | function | self._outrep_summary(rep)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 999 | _handle_teardown_sections | ref | function | self._handle_teardown_sections(rep.nodeid)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,001 | summary_errors | def | function | def summary_errors(self) -> None:
if self.config.option.tbstyle != "no":
reports: List[BaseReport] = self.getreports("error")
if not reports:
return
self.write_sep("=", "ERRORS")
for rep in self.stats["error"]:
msg = self._getfa... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,003 | getreports | ref | function | reports: List[BaseReport] = self.getreports("error")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,006 | write_sep | ref | function | self.write_sep("=", "ERRORS")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,008 | _getfailureheadline | ref | function | msg = self._getfailureheadline(rep)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,013 | write_sep | ref | function | self.write_sep("_", msg, red=True, bold=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,014 | _outrep_summary | ref | function | self._outrep_summary(rep)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,016 | _outrep_summary | def | function | def _outrep_summary(self, rep: BaseReport) -> None:
rep.toterminal(self._tw)
showcapture = self.config.option.showcapture
if showcapture == "no":
return
for secname, content in rep.sections:
if showcapture != "all" and showcapture not in secname:
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/terminal.py | src/_pytest/terminal.py | 1,017 | toterminal | ref | function | rep.toterminal(self._tw)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.