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_cacheprovider.py | testing/test_cacheprovider.py | 627 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 633 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 634 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == [
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 639 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 648 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 650 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == []
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 653 | parametrize | ref | function | @pytest.mark.parametrize("quiet", [True, False])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 654 | parametrize | ref | function | @pytest.mark.parametrize("opt", ["--ff", "--lf"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 659 | makepyfile | ref | function | pytester.makepyfile("def test(): assert 0")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 663 | runpytest | ref | function | result = pytester.runpytest(*args)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 664 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*run all*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 666 | runpytest | ref | function | result = pytester.runpytest(*args)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 668 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*run all*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 673 | parseconfigure | ref | function | config = pytester.parseconfigure()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 680 | makepyfile | ref | function | test_bar = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 686 | makepyfile | ref | function | test_foo = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 692 | runpytest | ref | function | pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 693 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == [
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 699 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 705 | runpytest | ref | function | result = pytester.runpytest(test_bar)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 706 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 710 | runpytest | ref | function | result = pytester.runpytest("--last-failed")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 711 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 721 | makepyfile | ref | function | test_foo = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 727 | runpytest | ref | function | result = pytester.runpytest(test_foo, "--last-failed")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 728 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 735 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == []
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 737 | runpytest | ref | function | result = pytester.runpytest("--last-failed")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 738 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*4 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 739 | get_cached_last_failed | ref | function | assert self.get_cached_last_failed(pytester) == []
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 744 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 750 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 751 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 752 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 753 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 754 | runpytest | ref | function | result = pytester.runpytest("--lf", "--lfnf", "all")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 755 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 759 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 772 | runpytest | ref | function | result = pytester.runpytest("--lf", "--lfnf", "none")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 773 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 786 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 792 | runpytest | ref | function | result = pytester.runpytest("--lf", "--cache-clear")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 793 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 failed*1 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 794 | runpytest | ref | function | result = pytester.runpytest("--lf", "--cache-clear", "--lfnf", "all")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 795 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 failed*1 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 796 | runpytest | ref | function | result = pytester.runpytest("--lf", "--cache-clear", "--lfnf", "none")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 797 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*2 desel*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 804 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 822 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 825 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 826 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 835 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 842 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 843 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 854 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 860 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/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/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 864 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 865 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 874 | makepyfile | ref | function | pytester.makepyfile(**{"pkg1/test_1.py": """def test_1(): assert 0"""})
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 875 | runpytest | ref | function | result = pytester.runpytest("--lf")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 876 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 885 | makepyfile | ref | function | pytester.makepyfile(**{"pkg1/test_1.py": """def test_renamed(): assert 0"""})
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 886 | runpytest | ref | function | result = pytester.runpytest("--lf", "-rf")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 887 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 898 | runpytest | ref | function | result = pytester.runpytest("--lf", "--co")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 899 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 909 | test_lastfailed_args_with_deselected | def | function | def test_lastfailed_args_with_deselected(self, pytester: Pytester) -> None:
"""Test regression with --lf running into NoMatch error.
This was caused by it not collecting (non-failed) nodes given as
arguments.
"""
pytester.makepyfile(
**{
"pkg1/tes... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 915 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 923 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 924 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 2 items", "* 1 failed, 1 passed in *"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 927 | runpytest | ref | function | result = pytester.runpytest("pkg1/test_1.py::test_pass", "--lf", "--co")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 929 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 940 | runpytest | ref | function | result = pytester.runpytest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 944 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 955 | test_lastfailed_with_class_items | def | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 957 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 968 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 969 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 3 items", "* 2 failed, 1 passed in *"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 972 | runpytest | ref | function | result = pytester.runpytest("--lf", "--co")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 974 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 989 | test_lastfailed_with_all_filtered | def | function | def test_lastfailed_with_all_filtered(self, pytester: Pytester) -> None:
pytester.makepyfile(
**{
"pkg1/test_1.py": """
def test_fail(): assert 0
def test_pass(): pass
""",
}
)
result = pytester.r... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 990 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 998 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 999 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 2 items", "* 1 failed, 1 passed in *"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 1,003 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 1,010 | runpytest | ref | function | result = pytester.runpytest("--lf", "--co")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 1,011 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 1,025 | test_packages | def | function | def test_packages(self, pytester: Pytester) -> None:
"""Regression test for #7758.
The particular issue here was that Package nodes were included in the
filtering, being themselves Modules for the __init__.py, even if they
had failed Modules in them.
The tests includes a te... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_cacheprovider.py | testing/test_cacheprovider.py | 1,035 | makepyfile | ref | function | pytester.makepyfile(
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.