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_mark.py
testing/test_mark.py
589
test_mark_with_wrong_marker
def
function
def test_mark_with_wrong_marker(self, pytester: Pytester) -> None: reprec = pytester.inline_runsource( """ import pytest class pytestmark(object): pass def test_func(): pass """ ) valu...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
590
inline_runsource
ref
function
reprec = pytester.inline_runsource(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
599
getfailedcollections
ref
function
values = reprec.getfailedcollections()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
603
test_mark_dynamically_in_funcarg
def
function
def test_mark_dynamically_in_funcarg(self, pytester: Pytester) -> None: pytester.makeconftest( """ import pytest @pytest.fixture def arg(request): request.applymarker(pytest.mark.hello) def pytest_terminal_summary(terminalreporter):...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
604
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
615
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
621
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
622
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["keyword: *hello*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
624
test_no_marker_match_on_unmarked_names
def
function
def test_no_marker_match_on_unmarked_names(self, pytester: Pytester) -> None: p = pytester.makepyfile( """ import pytest @pytest.mark.shouldmatch def test_marked(): assert 1 def test_unmarked(): assert 1 """...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
625
makepyfile
ref
function
p = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
636
inline_run
ref
function
reprec = pytester.inline_run("-m", "test_unmarked", p)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
637
listoutcomes
ref
function
passed, skipped, failed = reprec.listoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
639
getcalls
ref
function
dlist = reprec.getcalls("pytest_deselected")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
643
test_keywords_at_node_level
def
function
def test_keywords_at_node_level(self, pytester: Pytester) -> None: pytester.makepyfile( """ import pytest @pytest.fixture(scope="session", autouse=_True) def some(request): request.keywords["hello"] = 42 assert "world" not in re...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
644
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
662
inline_run
ref
function
reprec = pytester.inline_run()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
663
assertoutcome
ref
function
reprec.assertoutcome(passed=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
665
test_keyword_added_for_session
def
function
def test_keyword_added_for_session(self, pytester: Pytester) -> None: pytester.makeconftest( """ import pytest def pytest_collection_modifyitems(session): session.add_marker("mark1") session.add_marker(pytest.mark.mark2) ses...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
666
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
677
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
690
inline_run
ref
function
reprec = pytester.inline_run("-m", "mark1")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
691
assertoutcome
ref
function
reprec.assertoutcome(passed=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
693
assert_markers
def
function
def assert_markers(self, items, **expected) -> None: """Assert that given items have expected marker names applied to them. expected should be a dict of (item name -> seq of expected marker names). Note: this could be moved to ``pytester`` if proven to be useful to other modules. ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
702
iter_markers
ref
function
markers = {m.name for m in items[name].iter_markers()}
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
705
filterwarnings
ref
function
@pytest.mark.filterwarnings("ignore")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
706
test_mark_from_parameters
def
function
def test_mark_from_parameters(self, pytester: Pytester) -> None: """#1540""" pytester.makepyfile( """ import pytest pytestmark = pytest.mark.skipif(_True, reason='skip all') # skipifs inside fixture params params = [pytest.mark.skipif(_Fa...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
708
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
727
inline_run
ref
function
reprec = pytester.inline_run()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
728
assertoutcome
ref
function
reprec.assertoutcome(skipped=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
730
test_reevaluate_dynamic_expr
def
function
def test_reevaluate_dynamic_expr(self, pytester: Pytester) -> None: """#7360""" py_file1 = pytester.makepyfile( test_reevaluate_dynamic_expr1=""" import pytest skip = _True @pytest.mark.skipif("skip") def test_should_skip(): ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
732
makepyfile
ref
function
py_file1 = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
743
makepyfile
ref
function
py_file2 = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
755
basename
ref
function
file_name1 = os.path.basename(py_file1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
756
basename
ref
function
file_name2 = os.path.basename(py_file2)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
757
inline_run
ref
function
reprec = pytester.inline_run(file_name1, file_name2)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
758
assertoutcome
ref
function
reprec.assertoutcome(passed=1, skipped=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
761
TestKeywordSelection
def
class
test_select_simple test_select_extra_keywords test_select_starton test_keyword_extra test_keyword_extra_dash test_no_magic_values test_no_match_directories_outside_the_suite
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
762
test_select_simple
def
function
def test_select_simple(self, pytester: Pytester) -> None: file_test = pytester.makepyfile( """ def test_one(): assert 0 class TestClass(object): def test_method_one(self): assert 42 == 43 """ ) d...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
763
makepyfile
ref
function
file_test = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
773
check
def
function
def check(keyword, name): reprec = pytester.inline_run("-s", "-k", keyword, file_test) passed, skipped, failed = reprec.listoutcomes() assert len(failed) == 1 assert failed[0].nodeid.split("::")[-1] == name assert len(reprec.getcalls("pytest_deselected...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
774
inline_run
ref
function
reprec = pytester.inline_run("-s", "-k", keyword, file_test)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
775
listoutcomes
ref
function
passed, skipped, failed = reprec.listoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
778
getcalls
ref
function
assert len(reprec.getcalls("pytest_deselected")) == 1
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
781
check
ref
function
check(keyword, "test_one")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
782
check
ref
function
check("TestClass and test", "test_method_one")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
784
parametrize
ref
function
@pytest.mark.parametrize(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
795
test_select_extra_keywords
def
function
def test_select_extra_keywords(self, pytester: Pytester, keyword) -> None: p = pytester.makepyfile( test_select=""" def test_1(): pass class TestClass(object): def test_2(self): pass """ ) pyteste...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
796
makepyfile
ref
function
p = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
805
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
816
inline_run
ref
function
reprec = pytester.inline_run(p.parent, "-s", "-k", keyword)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
818
listoutcomes
ref
function
passed, skipped, failed = reprec.listoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
821
getcalls
ref
function
dlist = reprec.getcalls("pytest_deselected")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
825
test_select_starton
def
function
def test_select_starton(self, pytester: Pytester) -> None: threepass = pytester.makepyfile( test_threepass=""" def test_one(): assert 1 def test_two(): assert 1 def test_three(): assert 1 """ ) reprec = pytester.inline_run( ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
826
makepyfile
ref
function
threepass = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
833
inline_run
ref
function
reprec = pytester.inline_run(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
836
listoutcomes
ref
function
passed, skipped, failed = reprec.listoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
839
getcalls
ref
function
dlist = reprec.getcalls("pytest_deselected")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
844
test_keyword_extra
def
function
def test_keyword_extra(self, pytester: Pytester) -> None: p = pytester.makepyfile( """ def test_one(): assert 0 test_one.mykeyword = _True """ ) reprec = pytester.inline_run("-k", "mykeyword", p) passed, skipped, failed = repre...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
845
makepyfile
ref
function
p = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
852
inline_run
ref
function
reprec = pytester.inline_run("-k", "mykeyword", p)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
853
countoutcomes
ref
function
passed, skipped, failed = reprec.countoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
857
test_keyword_extra_dash
def
function
def test_keyword_extra_dash(self, pytester: Pytester) -> None: p = pytester.makepyfile( """ def test_one(): assert 0 test_one.mykeyword = _True """ ) # with argparse the argument to an option cannot # start with '-' rep...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
858
makepyfile
ref
function
p = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
867
inline_run
ref
function
reprec = pytester.inline_run("-k", "-mykeyword", p)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
868
countoutcomes
ref
function
passed, skipped, failed = reprec.countoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
871
parametrize
ref
function
@pytest.mark.parametrize(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
875
test_no_magic_values
def
function
def test_no_magic_values(self, pytester: Pytester, keyword: str) -> None: """Make sure the tests do not match on magic values, no double underscored values, like '__dict__' and '+'. """ p = pytester.makepyfile( """ def test_one(): assert 1 """ ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
879
makepyfile
ref
function
p = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
885
inline_run
ref
function
reprec = pytester.inline_run("-k", keyword, p)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
886
countoutcomes
ref
function
passed, skipped, failed = reprec.countoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
887
getcalls
ref
function
dlist = reprec.getcalls("pytest_deselected")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
892
test_no_match_directories_outside_the_suite
def
function
def test_no_match_directories_outside_the_suite(self, pytester: Pytester) -> None: """`-k` should not match against directories containing the test suite (#7040).""" test_contents = """ def test_aaa(): pass def test_ddd(): pass """ pytester.makepyfile( ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
898
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
902
get_collected_names
def
function
def get_collected_names(*args): _, rec = pytester.inline_genitems(*args) calls = rec.getcalls("pytest_collection_finish") assert len(calls) == 1 return [x.name for x in calls[0].session.items] # sanity check: collect both tests in normal runs asse...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
903
inline_genitems
ref
function
_, rec = pytester.inline_genitems(*args)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
904
getcalls
ref
function
calls = rec.getcalls("pytest_collection_finish")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
909
get_collected_names
ref
function
assert get_collected_names() == ["test_aaa", "test_ddd"]
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
912
get_collected_names
ref
function
assert get_collected_names("-k", pytester._name) == []
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
918
get_collected_names
ref
function
assert get_collected_names("-k", "ddd") == ["test_ddd"]
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
921
TestMarkDecorator
def
class
test__eq__ test_aliases
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
922
parametrize
ref
function
@pytest.mark.parametrize(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
925
foo
ref
function
(pytest.mark.foo(), pytest.mark.foo(), True),
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
925
foo
ref
function
(pytest.mark.foo(), pytest.mark.foo(), True),
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
926
foo
ref
function
(pytest.mark.foo(), pytest.mark.bar(), False),
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
926
bar
ref
function
(pytest.mark.foo(), pytest.mark.bar(), False),
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
927
foo
ref
function
(pytest.mark.foo(), "bar", False),
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
928
bar
ref
function
("foo", pytest.mark.bar(), False),
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
931
test__eq__
def
function
def test__eq__(self, lhs, rhs, expected) -> None: assert (lhs == rhs) == expected def test_aliases(self) -> None: md = pytest.mark.foo(1, "2", three=3) assert md.name == "foo" assert md.args == (1, "2") assert md.kwargs == {"three": 3}
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
934
test_aliases
def
function
def test_aliases(self) -> None: md = pytest.mark.foo(1, "2", three=3) assert md.name == "foo" assert md.args == (1, "2") assert md.kwargs == {"three": 3}
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
935
foo
ref
function
md = pytest.mark.foo(1, "2", three=3)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
941
parametrize
ref
function
@pytest.mark.parametrize("mark", [None, "", "skip", "xfail"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
942
test_parameterset_for_parametrize_marks
def
function
def test_parameterset_for_parametrize_marks( pytester: Pytester, mark: Optional[str]
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
946
makeini
ref
function
pytester.makeini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
955
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
958
pytest_configure
ref
function
pytest_configure(config)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
959
get_empty_parameterset_mark
ref
function
result_mark = get_empty_parameterset_mark(config, ["a"], all)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
969
test_parameterset_for_fail_at_collect
def
function
def test_parameterset_for_fail_at_collect(pytester: Pytester) -> None: pytester.makeini( """ [pytest] {}=fail_at_collect """.format( EMPTY_PARAMETERSET_OPTION ) ) config = pytester.parseconfig() from _pytest.mark import pytest_configure, get_empty_parameterset_ma...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
970
makeini
ref
function
pytester.makeini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
979
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_mark.py
testing/test_mark.py
982
pytest_configure
ref
function
pytest_configure(config)