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_cacheprovider.py | testing/test_cacheprovider.py | 541 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 556 | rlf | def | function | def rlf(fail_import, fail_run, args=()):
monkeypatch.setenv("FAILIMPORT", str(fail_import))
monkeypatch.setenv("FAILTEST", str(fail_run))
result = pytester.runpytest("-q", "--lf", *args)
config = pytester.parseconfigure()
assert config.cache is not No... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 557 | setenv | ref | function | monkeypatch.setenv("FAILIMPORT", str(fail_import))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 558 | setenv | ref | function | monkeypatch.setenv("FAILTEST", str(fail_run))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 560 | runpytest | ref | function | result = pytester.runpytest("-q", "--lf", *args)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 561 | parseconfigure | ref | function | config = pytester.parseconfigure()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 566 | rlf | ref | function | result, lastfailed = rlf(fail_import=0, fail_run=0)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 568 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*3 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 570 | rlf | ref | function | result, lastfailed = rlf(fail_import=1, fail_run=0)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 573 | rlf | ref | function | result, lastfailed = rlf(fail_import=0, fail_run=0, args=("test_maybe2.py",))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 579 | rlf | ref | function | result, lastfailed = rlf(fail_import=0, fail_run=0, args=("test_maybe2.py",))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 581 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 583 | test_lastfailed_creates_cache_when_needed | def | function | def test_lastfailed_creates_cache_when_needed(self, pytester: Pytester) -> None:
# Issue #1342
pytester.makepyfile(test_empty="")
pytester.runpytest("-q", "--lf")
assert not os.path.exists(".pytest_cache/v/cache/lastfailed")
pytester.makepyfile(test_successful="def test_succ... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 585 | makepyfile | ref | function | pytester.makepyfile(test_empty="")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 586 | runpytest | ref | function | pytester.runpytest("-q", "--lf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 589 | makepyfile | ref | function | pytester.makepyfile(test_successful="def test_success():\n assert True")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 590 | runpytest | ref | function | pytester.runpytest("-q", "--lf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 593 | makepyfile | ref | function | pytester.makepyfile(test_errored="def test_error():\n assert False")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 594 | runpytest | ref | function | pytester.runpytest("-q", "--lf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 597 | test_xfail_not_considered_failure | def | function | def test_xfail_not_considered_failure(self, pytester: Pytester) -> None:
pytester.makepyfile(
"""
import pytest
@pytest.mark.xfail
def test(): assert 0
"""
)
result = pytester.runpytest()
result.stdout.fnmatch_lines(["*1 xfailed... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 598 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 605 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 606 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 xfailed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 607 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == []
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 609 | test_xfail_strict_considered_failure | def | function | def test_xfail_strict_considered_failure(self, pytester: Pytester) -> None:
pytester.makepyfile(
"""
import pytest
@pytest.mark.xfail(strict=_True)
def test(): pass
"""
)
result = pytester.runpytest()
result.stdout.fnmatch_lines... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 610 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 617 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 618 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 failed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 619 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == [
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 623 | parametrize | ref | function | @pytest.mark.parametrize("mark", ["mark.xfail", "mark.skip"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 624 | test_failed_changed_to_xfail_or_skip | def | function | def test_failed_changed_to_xfail_or_skip(
self, pytester: Pytester, mark: str
) -> None:
pytester.makepyfile(
"""
import pytest
def test(): assert 0
"""
)
result = pytester.runpytest()
assert self.get_cached_last_failed(pytester... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 627 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 633 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 634 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == [
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 639 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 648 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 650 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == []
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 653 | parametrize | ref | function | @pytest.mark.parametrize("quiet", [True, False])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 654 | parametrize | ref | function | @pytest.mark.parametrize("opt", ["--ff", "--lf"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 655 | test_lf_and_ff_prints_no_needless_message | def | function | def test_lf_and_ff_prints_no_needless_message(
self, quiet: bool, opt: str, pytester: Pytester
) -> None:
# Issue 3853
pytester.makepyfile("def test(): assert 0")
args = [opt]
if quiet:
args.append("-q")
result = pytester.runpytest(*args)
resul... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 659 | makepyfile | ref | function | pytester.makepyfile("def test(): assert 0")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 663 | runpytest | ref | function | result = pytester.runpytest(*args)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 664 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*run all*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 666 | runpytest | ref | function | result = pytester.runpytest(*args)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 668 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*run all*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 672 | get_cached_last_failed | def | function | def get_cached_last_failed(self, pytester: Pytester) -> List[str]:
config = pytester.parseconfigure()
assert config.cache is not None
return sorted(config.cache.get("cache/lastfailed", {}))
def test_cache_cumulative(self, pytester: Pytester) -> None:
"""Test workflow where user ... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 673 | parseconfigure | ref | function | config = pytester.parseconfigure()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 677 | test_cache_cumulative | def | function | def test_cache_cumulative(self, pytester: Pytester) -> None:
"""Test workflow where user fixes errors gradually file by file using --lf."""
# 1. initial run
test_bar = pytester.makepyfile(
test_bar="""
def test_bar_1(): pass
def test_bar_2(): assert 0
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 680 | makepyfile | ref | function | test_bar = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 686 | makepyfile | ref | function | test_foo = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 692 | runpytest | ref | function | pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 693 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == [
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 699 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 705 | runpytest | ref | function | result = pytester.runpytest(test_bar)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 706 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 708 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == ["test_foo.py::test_foo_4"]
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 710 | runpytest | ref | function | result = pytester.runpytest("--last-failed")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 711 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 718 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == ["test_foo.py::test_foo_4"]
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 721 | makepyfile | ref | function | test_foo = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 727 | runpytest | ref | function | result = pytester.runpytest(test_foo, "--last-failed")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 728 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 735 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == []
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 737 | runpytest | ref | function | result = pytester.runpytest("--last-failed")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 738 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*4 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 739 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == []
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 741 | test_lastfailed_no_failures_behavior_all_passed | def | function | def test_lastfailed_no_failures_behavior_all_passed(
self, pytester: Pytester
) -> None:
pytester.makepyfile(
"""
def test_1(): pass
def test_2(): pass
"""
)
result = pytester.runpytest()
result.stdout.fnmatch_lines(["*2 passed*... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 744 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 750 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 751 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 752 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 753 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 754 | runpytest | ref | function | result = pytester.runpytest("--lf", "--lfnf", "all")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 755 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 759 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 772 | runpytest | ref | function | result = pytester.runpytest("--lf", "--lfnf", "none")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 773 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 783 | test_lastfailed_no_failures_behavior_empty_cache | def | function | def test_lastfailed_no_failures_behavior_empty_cache(
self, pytester: Pytester
) -> None:
pytester.makepyfile(
"""
def test_1(): pass
def test_2(): assert 0
"""
)
result = pytester.runpytest("--lf", "--cache-clear")
result.stdou... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 786 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 792 | runpytest | ref | function | result = pytester.runpytest("--lf", "--cache-clear")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 793 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 failed*1 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 794 | runpytest | ref | function | result = pytester.runpytest("--lf", "--cache-clear", "--lfnf", "all")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 795 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 failed*1 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 796 | runpytest | ref | function | result = pytester.runpytest("--lf", "--cache-clear", "--lfnf", "none")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 797 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 desel*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 799 | test_lastfailed_skip_collection | def | function | def test_lastfailed_skip_collection(self, pytester: Pytester) -> None:
"""
Test --lf behavior regarding skipping collection of files that are not marked as
failed in the cache (#5172).
"""
pytester.makepyfile(
**{
"pkg1/test_1.py": """
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 804 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 822 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 823 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 8 items", "*2 failed*6 passed*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 825 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 826 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 835 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 842 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 843 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 851 | test_lastfailed_with_known_failures_not_being_selected | def | function | def test_lastfailed_with_known_failures_not_being_selected(
self, pytester: Pytester
) -> None:
pytester.makepyfile(
**{
"pkg1/test_1.py": """def test_1(): assert 0""",
"pkg1/test_2.py": """def test_2(): pass""",
}
)
result ... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 854 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 860 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 861 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 2 items", "* 1 failed, 1 passed in *"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 864 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 865 | 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.