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_collection.py
testing/test_collection.py
619
test_find_byid_without_instance_parents
def
function
def test_find_byid_without_instance_parents(self, pytester: Pytester) -> None: p = pytester.makepyfile( """ class TestClass(object): def test_method(self): pass """ ) arg = p.name + "::TestClass::test_method" items, ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
620
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
628
inline_genitems
ref
function
items, hookrec = pytester.inline_genitems(arg)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
633
get_reported_items
ref
function
assert [x.name for x in self.get_reported_items(hookrec)] == ["test_method"]
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
636
Test_getinitialnodes
def
class
test_global_file test_pkgfile
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
637
test_global_file
def
function
def test_global_file(self, pytester: Pytester) -> None: tmp_path = pytester.path x = ensure_file(tmp_path / "x.py") config = pytester.parseconfigure(x) col = pytester.getnode(config, x) assert isinstance(col, pytest.Module) assert col.name == "x.py" assert col...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
639
ensure_file
ref
function
x = ensure_file(tmp_path / "x.py")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
640
parseconfigure
ref
function
config = pytester.parseconfigure(x)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
641
getnode
ref
function
col = pytester.getnode(config, x)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
646
listchain
ref
function
for parent in col.listchain():
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
649
test_pkgfile
def
function
def test_pkgfile(self, pytester: Pytester) -> None: """Verify nesting when a module is within a package. The parent chain should match: Module<x.py> -> Package<subdir> -> Session. Session's parent should always be None. """ tmp_path = pytester.path subdir = tmp_pa...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
656
ensure_file
ref
function
x = ensure_file(subdir / "x.py")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
657
ensure_file
ref
function
ensure_file(subdir / "__init__.py")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
659
parseconfigure
ref
function
config = pytester.parseconfigure(x)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
660
getnode
ref
function
col = pytester.getnode(config, x)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
668
listchain
ref
function
for parent in col.listchain():
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
672
Test_genitems
def
class
test_check_collect_hashes test_example_items1 test_class_and_functions_discovery_using_glob
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
673
test_check_collect_hashes
def
function
def test_check_collect_hashes(self, pytester: Pytester) -> None: p = pytester.makepyfile( """ def test_1(): pass def test_2(): pass """ ) shutil.copy(p, p.parent / (p.stem + "2" + ".py")) items, reprec = pyt...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
674
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
684
inline_genitems
ref
function
items, reprec = pytester.inline_genitems(p.parent)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
692
test_example_items1
def
function
def test_example_items1(self, pytester: Pytester) -> None: p = pytester.makepyfile( """ import pytest def testone(): pass class TestX(object): def testmethod_one(self): pass class TestY(TestX):...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
693
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
710
inline_genitems
ref
function
items, reprec = pytester.inline_genitems(p)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
718
getmodpath
ref
function
assert items[0].getmodpath() == "testone" # type: ignore[attr-defined]
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
719
getmodpath
ref
function
assert items[1].getmodpath() == "TestX.testmethod_one" # type: ignore[attr-defined]
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
720
getmodpath
ref
function
assert items[2].getmodpath() == "TestY.testmethod_one" # type: ignore[attr-defined]
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
722
getmodpath
ref
function
assert items[3].getmodpath() == "TestY.testmethod_two[.[]" # type: ignore[attr-defined]
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
724
getmodpath
ref
function
s = items[0].getmodpath(stopatmodule=False) # type: ignore[attr-defined]
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
728
test_class_and_functions_discovery_using_glob
def
class
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
731
makeini
ref
function
pytester.makeini(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
738
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
749
inline_genitems
ref
function
items, reprec = pytester.inline_genitems(p)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
750
getmodpath
ref
function
ids = [x.getmodpath() for x in items] # type: ignore[attr-defined]
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
754
test_matchnodes_two_collections_same_file
def
function
def test_matchnodes_two_collections_same_file(pytester: Pytester) -> None: pytester.makeconftest( """ import pytest def pytest_configure(config): config.pluginmanager.register(Plugin2()) class Plugin2(object): def pytest_collect_file(self, fspath, parent): ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
755
makeconftest
ref
function
pytester.makeconftest(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
787
makefile
ref
function
p = pytester.makefile(".abc", "")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
788
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
790
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*2 passed*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
791
runpytest
ref
function
res = pytester.runpytest("%s::item2" % p.name)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
792
fnmatch_lines
ref
function
res.stdout.fnmatch_lines(["*1 passed*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
795
TestNodekeywords
def
class
test_no_under test_issue345 test_keyword_matching_is_case_insensitive_by_default
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
796
test_no_under
def
function
def test_no_under(self, pytester: Pytester) -> None: modcol = pytester.getmodulecol( """ def test_pass(): pass def test_fail(): assert 0 """ ) values = list(modcol.keywords) assert modcol.name in values for x in values: ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
797
getmodulecol
ref
function
modcol = pytester.getmodulecol(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
809
test_issue345
def
function
def test_issue345(self, pytester: Pytester) -> None: pytester.makepyfile( """ def test_should_not_be_selected(): assert _False, 'I should not have been selected to run' def test___repr__(): pass """ ) reprec = pytes...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
810
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
819
inline_run
ref
function
reprec = pytester.inline_run("-k repr")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
820
assertoutcome
ref
function
reprec.assertoutcome(passed=1, failed=0)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
822
test_keyword_matching_is_case_insensitive_by_default
def
function
def test_keyword_matching_is_case_insensitive_by_default( self, pytester: Pytester ) -> None: """Check that selection via -k EXPRESSION is case-insensitive. Since markers are also added to the node keywords, they too can be matched without having to think about case sensitivity....
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
831
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
858
inline_run
ref
function
reprec = pytester.inline_run("-k " + expression)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
859
assertoutcome
ref
function
reprec.assertoutcome(passed=num_matching_tests, failed=0)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
884
test_exit_on_collection_error
def
function
def test_exit_on_collection_error(pytester: Pytester) -> None: """Verify that all collection errors are collected and no tests executed""" pytester.makepyfile(**COLLECTION_ERROR_PY_FILES) res = pytester.runpytest() assert res.ret == 2 res.stdout.fnmatch_lines( [ "collected 2 it...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
886
makepyfile
ref
function
pytester.makepyfile(**COLLECTION_ERROR_PY_FILES)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
888
runpytest
ref
function
res = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
891
fnmatch_lines
ref
function
res.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
902
test_exit_on_collection_with_maxfail_smaller_than_n_errors
def
function
def test_exit_on_collection_with_maxfail_smaller_than_n_errors( pytester: Pytester,
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
909
makepyfile
ref
function
pytester.makepyfile(**COLLECTION_ERROR_PY_FILES)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
911
runpytest
ref
function
res = pytester.runpytest("--maxfail=1")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
913
fnmatch_lines
ref
function
res.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
922
no_fnmatch_line
ref
function
res.stdout.no_fnmatch_line("*test_03*")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
925
test_exit_on_collection_with_maxfail_bigger_than_n_errors
def
function
def test_exit_on_collection_with_maxfail_bigger_than_n_errors( pytester: Pytester,
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
932
makepyfile
ref
function
pytester.makepyfile(**COLLECTION_ERROR_PY_FILES)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
934
runpytest
ref
function
res = pytester.runpytest("--maxfail=4")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
936
fnmatch_lines
ref
function
res.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
949
test_continue_on_collection_errors
def
function
def test_continue_on_collection_errors(pytester: Pytester) -> None: """ Verify tests are executed even when collection errors occur when the --continue-on-collection-errors flag is set """ pytester.makepyfile(**COLLECTION_ERROR_PY_FILES) res = pytester.runpytest("--continue-on-collection-errors...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
954
makepyfile
ref
function
pytester.makepyfile(**COLLECTION_ERROR_PY_FILES)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
956
runpytest
ref
function
res = pytester.runpytest("--continue-on-collection-errors")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
959
fnmatch_lines
ref
function
res.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
964
test_continue_on_collection_errors_maxfail
def
function
def test_continue_on_collection_errors_maxfail(pytester: Pytester) -> None: """ Verify tests are executed even when collection errors occur and that maxfail is honoured (including the collection error count). 4 tests: 2 collection errors + 1 failure + 1 success test_4 is never executed because the t...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
972
makepyfile
ref
function
pytester.makepyfile(**COLLECTION_ERROR_PY_FILES)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
974
runpytest
ref
function
res = pytester.runpytest("--continue-on-collection-errors", "--maxfail=3")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
977
fnmatch_lines
ref
function
res.stdout.fnmatch_lines(["collected 2 items / 2 errors", "*1 failed, 2 errors*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
980
test_fixture_scope_sibling_conftests
def
function
def test_fixture_scope_sibling_conftests(pytester: Pytester) -> None: """Regression test case for https://github.com/pytest-dev/pytest/issues/2836""" foo_path = pytester.mkdir("foo") foo_path.joinpath("conftest.py").write_text( textwrap.dedent( """\ import pytest ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
996
mkpydir
ref
function
food_path = pytester.mkpydir("food")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
999
runpytest
ref
function
res = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,002
fnmatch_lines
ref
function
res.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,011
test_collect_init_tests
def
function
def test_collect_init_tests(pytester: Pytester) -> None: """Check that we collect files from __init__.py files when they patch the 'python_files' (#3773)""" p = pytester.copy_example("collect/collect_init_tests") result = pytester.runpytest(p, "--collect-only") result.stdout.fnmatch_lines( [ ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,013
copy_example
ref
function
p = pytester.copy_example("collect/collect_init_tests")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,014
runpytest
ref
function
result = pytester.runpytest(p, "--collect-only")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,015
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,025
runpytest
ref
function
result = pytester.runpytest("./tests", "--collect-only")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,026
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,037
runpytest
ref
function
result = pytester.runpytest("./tests", ".", "--collect-only")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,038
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,049
runpytest
ref
function
result = pytester.runpytest(".", "tests", "--collect-only")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,050
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,060
runpytest
ref
function
result = pytester.runpytest("./tests/test_foo.py", "--collect-only")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,061
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,064
no_fnmatch_line
ref
function
result.stdout.no_fnmatch_line("*test_init*")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,065
runpytest
ref
function
result = pytester.runpytest("./tests/__init__.py", "--collect-only")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,066
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,069
no_fnmatch_line
ref
function
result.stdout.no_fnmatch_line("*test_foo*")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,072
test_collect_invalid_signature_message
def
function
def test_collect_invalid_signature_message(pytester: Pytester) -> None: """Check that we issue a proper message when we can't determine the signature of a test function (#4026). """ pytester.makepyfile( """ import pytest class TestCase: @pytest.fixture de...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,076
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,086
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,087
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,092
test_collect_handles_raising_on_dunder_class
def
class
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,096
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,114
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_collection.py
testing/test_collection.py
1,115
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed in*"])