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_stepwise.py | testing/test_stepwise.py | 268 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_stepwise.py | testing/test_stepwise.py | 277 | test_sw_skip_help | def | function | def test_sw_skip_help(pytester: Pytester) -> None:
result = pytester.runpytest("-h")
result.stdout.fnmatch_lines("*implicitly enables --stepwise.")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_stepwise.py | testing/test_stepwise.py | 278 | runpytest | ref | function | result = pytester.runpytest("-h")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_stepwise.py | testing/test_stepwise.py | 279 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines("*implicitly enables --stepwise.")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 40 | Option | def | class | __init__ args |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 45 | args | def | function | def args(self):
values = []
values.append("--verbosity=%d" % self.verbosity)
return values
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 51 | fixture | ref | function | @pytest.fixture(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 52 | Option | ref | function | params=[Option(verbosity=0), Option(verbosity=1), Option(verbosity=-1)],
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 52 | Option | ref | function | params=[Option(verbosity=0), Option(verbosity=1), Option(verbosity=-1)],
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 52 | Option | ref | function | params=[Option(verbosity=0), Option(verbosity=1), Option(verbosity=-1)],
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 55 | option | def | function | def option(request):
return request.param
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 59 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 62 | DistInfo | ref | function | ([DistInfo(project_name="test", version=1)], ["test-1"]),
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 63 | DistInfo | ref | function | ([DistInfo(project_name="pytest-test", version=1)], ["test-1"]),
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 66 | DistInfo | ref | function | DistInfo(project_name="test", version=1),
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 67 | DistInfo | ref | function | DistInfo(project_name="test", version=1),
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 74 | test_plugin_nameversion | def | function | def test_plugin_nameversion(input, expected):
pluginlist = [(None, x) for x in input]
result = _plugin_nameversions(pluginlist)
assert result == expected
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 76 | _plugin_nameversions | ref | function | result = _plugin_nameversions(pluginlist)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 80 | TestTerminal | def | class | test_pass_skip_fail test_internalerror test_writeline test_show_runtest_logstart test_runtest_location_shown_before_test_starts test_report_collect_after_half_a_second test_itemreport_subclasses_show_subclassed_file test_itemreport_directclasses_not_shown_as_subclasses test_keyboard_interrupt test_keyboard_in_sessionst... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 81 | test_pass_skip_fail | def | function | def test_pass_skip_fail(self, pytester: Pytester, option) -> None:
pytester.makepyfile(
"""
import pytest
def test_ok():
pass
def test_skip():
pytest.skip("xx")
def test_func():
assert 0
"""
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 82 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 93 | runpytest | ref | function | result = pytester.runpytest(*option.args)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 95 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 103 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*test_pass_skip_fail.py .sF*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 105 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines([".sF*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 106 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 110 | test_internalerror | def | function | def test_internalerror(self, pytester: Pytester, linecomp) -> None:
modcol = pytester.getmodulecol("def test_one(): pass")
rep = TerminalReporter(modcol.config, file=linecomp.stringio)
with pytest.raises(ValueError) as excinfo:
raise ValueError("hello")
rep.pytest_interna... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 111 | getmodulecol | ref | function | modcol = pytester.getmodulecol("def test_one(): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 112 | TerminalReporter | ref | function | rep = TerminalReporter(modcol.config, file=linecomp.stringio)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 113 | raises | ref | function | with pytest.raises(ValueError) as excinfo:
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 115 | pytest_internalerror | ref | function | rep.pytest_internalerror(excinfo.getrepr())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 115 | getrepr | ref | function | rep.pytest_internalerror(excinfo.getrepr())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 116 | assert_contains_lines | ref | function | linecomp.assert_contains_lines(["INTERNALERROR> *ValueError*hello*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 118 | test_writeline | def | function | def test_writeline(self, pytester: Pytester, linecomp) -> None:
modcol = pytester.getmodulecol("def test_one(): pass")
rep = TerminalReporter(modcol.config, file=linecomp.stringio)
rep.write_fspath_result(modcol.nodeid, ".")
rep.write_line("hello world")
lines = linecomp.stri... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 119 | getmodulecol | ref | function | modcol = pytester.getmodulecol("def test_one(): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 120 | TerminalReporter | ref | function | rep = TerminalReporter(modcol.config, file=linecomp.stringio)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 121 | write_fspath_result | ref | function | rep.write_fspath_result(modcol.nodeid, ".")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 122 | write_line | ref | function | rep.write_line("hello world")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 128 | test_show_runtest_logstart | def | function | def test_show_runtest_logstart(self, pytester: Pytester, linecomp) -> None:
item = pytester.getitem("def test_func(): pass")
tr = TerminalReporter(item.config, file=linecomp.stringio)
item.config.pluginmanager.register(tr)
location = item.reportinfo()
tr.config.hook.pytest_ru... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 129 | getitem | ref | function | item = pytester.getitem("def test_func(): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 130 | TerminalReporter | ref | function | tr = TerminalReporter(item.config, file=linecomp.stringio)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 131 | register | ref | function | item.config.pluginmanager.register(tr)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 132 | reportinfo | ref | function | location = item.reportinfo()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 133 | pytest_runtest_logstart | ref | function | tr.config.hook.pytest_runtest_logstart(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 136 | assert_contains_lines | ref | function | linecomp.assert_contains_lines(["*test_show_runtest_logstart.py*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 138 | test_runtest_location_shown_before_test_starts | def | function | def test_runtest_location_shown_before_test_starts(
self, pytester: Pytester
) -> None:
pytester.makepyfile(
"""
def test_1():
import time
time.sleep(20)
"""
)
child = pytester.spawn_pytest("")
child.expect("... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 141 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 148 | spawn_pytest | ref | function | child = pytester.spawn_pytest("")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 149 | expect | ref | function | child.expect(".*test_runtest_location.*py")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 150 | sendeof | ref | function | child.sendeof()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 153 | test_report_collect_after_half_a_second | def | function | def test_report_collect_after_half_a_second(
self, pytester: Pytester, monkeypatch: MonkeyPatch
) -> None:
"""Test for "collecting" being updated after 0.5s"""
pytester.makepyfile(
**{
"test1.py": """
import _pytest.terminal
_... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 158 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 172 | setenv | ref | function | monkeypatch.setenv("PY_COLORS", "1")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 174 | spawn_pytest | ref | function | child = pytester.spawn_pytest("-v test1.py test2.py")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 175 | expect | ref | function | child.expect(r"collecting \.\.\.")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 176 | expect | ref | function | child.expect(r"collecting 1 item")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 177 | expect | ref | function | child.expect(r"collecting 2 items")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 178 | expect | ref | function | child.expect(r"collected 2 items")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 179 | decode | ref | function | rest = child.read().decode("utf8")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 182 | test_itemreport_subclasses_show_subclassed_file | def | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 185 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 208 | runpytest | ref | function | result = pytester.runpytest("tests/test_p2.py", "--rootdir=tests")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 209 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["tests/test_p2.py .*", "=* 1 passed in *"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 211 | runpytest | ref | function | result = pytester.runpytest("-vv", "-rA", "tests/test_p2.py", "--rootdir=tests")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 212 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 219 | runpytest | ref | function | result = pytester.runpytest("-vv", "-rA", "tests/test_p3.py", "--rootdir=tests")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 220 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 235 | test_itemreport_directclasses_not_shown_as_subclasses | def | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 238 | mkpydir | ref | function | a = pytester.mkpydir("a123")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 248 | runpytest | ref | function | result = pytester.runpytest("-vv")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 250 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*a123/test_hello123.py*PASS*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 251 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("* <- *")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 253 | parametrize | ref | function | @pytest.mark.parametrize("fulltrace", ("", "--fulltrace"))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 254 | test_keyboard_interrupt | def | function | def test_keyboard_interrupt(self, pytester: Pytester, fulltrace) -> None:
pytester.makepyfile(
"""
def test_foobar():
assert 0
def test_spamegg():
import py; pytest.skip('skip me please!')
def test_interrupt_me():
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 255 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 266 | runpytest | ref | function | result = pytester.runpytest(fulltrace, no_reraise_ctrlc=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 267 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 276 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 280 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 283 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*KeyboardInterrupt*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 285 | test_keyboard_in_sessionstart | def | function | def test_keyboard_in_sessionstart(self, pytester: Pytester) -> None:
pytester.makeconftest(
"""
def pytest_sessionstart():
raise KeyboardInterrupt
"""
)
pytester.makepyfile(
"""
def test_foobar():
pass
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 286 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 292 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 299 | runpytest | ref | function | result = pytester.runpytest(no_reraise_ctrlc=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 301 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*KeyboardInterrupt*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 303 | test_collect_single_item | def | function | def test_collect_single_item(self, pytester: Pytester) -> None:
"""Use singular 'item' when reporting a single test item"""
pytester.makepyfile(
"""
def test_foobar():
pass
"""
)
result = pytester.runpytest()
result.stdout.fnmat... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 305 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 311 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 312 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 1 item"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 314 | test_rewrite | def | function | def test_rewrite(self, pytester: Pytester, monkeypatch) -> None:
config = pytester.parseconfig()
f = StringIO()
monkeypatch.setattr(f, "isatty", lambda *args: _True)
tr = TerminalReporter(config, f)
tr._tw.fullwidth = 10
tr.write("hello")
tr.rewrite("hey", era... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 315 | parseconfig | ref | function | config = pytester.parseconfig()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 318 | TerminalReporter | ref | function | tr = TerminalReporter(config, f)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 321 | rewrite | ref | function | tr.rewrite("hey", erase=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 324 | test_report_teststatus_explicit_markup | def | function | def test_report_teststatus_explicit_markup(
self, monkeypatch: MonkeyPatch, pytester: Pytester, color_mapping
) -> None:
"""Test that TerminalReporter handles markup explicitly provided by
a pytest_report_teststatus hook."""
monkeypatch.setenv("PY_COLORS", "1")
pytester.m... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 329 | setenv | ref | function | monkeypatch.setenv("PY_COLORS", "1")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 330 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 336 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 342 | runpytest | ref | function | result = pytester.runpytest("-v")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 343 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 344 | format_for_fnmatch | ref | function | color_mapping.format_for_fnmatch(["*{red}FOO{reset}*"])
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.