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_config.py
testing/test_config.py
666
make_conftest_for_args
def
function
def make_conftest_for_args(self, pytester: Pytester) -> None: pytester.makeconftest( """ def pytest_addoption(parser): parser.addini("args", "new args", type="args") parser.addini("a2", "", "args", default="1 2 3".split()) """ ) de...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
667
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
675
test_addini_args_ini_files
def
function
def test_addini_args_ini_files(self, pytester: Pytester) -> None: self.make_conftest_for_args(pytester) pytester.makeini( """ [pytest] args=123 "123 hello" "this" """ ) self.check_config_args(pytester) def test_addini_args_pyprojec...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
676
make_conftest_for_args
ref
function
self.make_conftest_for_args(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
677
makeini
ref
function
pytester.makeini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
683
check_config_args
ref
function
self.check_config_args(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
685
test_addini_args_pyproject_toml
def
function
def test_addini_args_pyproject_toml(self, pytester: Pytester) -> None: self.make_conftest_for_args(pytester) pytester.makepyprojecttoml( """ [tool.pytest.ini_options] args = ["123", "123 hello", "this"] """ ) self.check_config_args(pyte...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
686
make_conftest_for_args
ref
function
self.make_conftest_for_args(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
687
makepyprojecttoml
ref
function
pytester.makepyprojecttoml(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
693
check_config_args
ref
function
self.check_config_args(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
695
check_config_args
def
function
def check_config_args(self, pytester: Pytester) -> None: config = pytester.parseconfig() values = config.getini("args") assert values == ["123", "123 hello", "this"] values = config.getini("a2") assert values == list("123") def make_conftest_for_linelist(self, pytester: ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
696
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
697
getini
ref
function
values = config.getini("args")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
699
getini
ref
function
values = config.getini("a2")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
702
make_conftest_for_linelist
def
function
def make_conftest_for_linelist(self, pytester: Pytester) -> None: pytester.makeconftest( """ def pytest_addoption(parser): parser.addini("xy", "", type="linelist") parser.addini("a2", "", "linelist") """ ) def test_addini_linelist_...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
703
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
711
test_addini_linelist_ini_files
def
function
def test_addini_linelist_ini_files(self, pytester: Pytester) -> None: self.make_conftest_for_linelist(pytester) pytester.makeini( """ [pytest] xy= 123 345 second line """ ) self.check_config_linelist(pytester) def test_...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
712
make_conftest_for_linelist
ref
function
self.make_conftest_for_linelist(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
713
makeini
ref
function
pytester.makeini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
720
check_config_linelist
ref
function
self.check_config_linelist(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
722
test_addini_linelist_pprojecttoml
def
function
def test_addini_linelist_pprojecttoml(self, pytester: Pytester) -> None: self.make_conftest_for_linelist(pytester) pytester.makepyprojecttoml( """ [tool.pytest.ini_options] xy = ["123 345", "second line"] """ ) self.check_config_linelist(py...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
723
make_conftest_for_linelist
ref
function
self.make_conftest_for_linelist(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
724
makepyprojecttoml
ref
function
pytester.makepyprojecttoml(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
730
check_config_linelist
ref
function
self.check_config_linelist(pytester)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
732
check_config_linelist
def
function
def check_config_linelist(self, pytester: Pytester) -> None: config = pytester.parseconfig() values = config.getini("xy") assert len(values) == 2 assert values == ["123 345", "second line"] values = config.getini("a2") assert values == [] @pytest.mark.parametrize...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
733
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
734
getini
ref
function
values = config.getini("xy")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
737
getini
ref
function
values = config.getini("a2")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
740
parametrize
ref
function
@pytest.mark.parametrize(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
743
test_addini_bool
def
function
def test_addini_bool( self, pytester: Pytester, str_val: str, bool_val: bool ) -> None: pytester.makeconftest( """ def pytest_addoption(parser): parser.addini("strip", "", type="bool", default=_True) """ ) if str_val != "no-ini": ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
746
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
753
makeini
ref
function
pytester.makeini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
760
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
761
getini
ref
function
assert config.getini("strip") is bool_val
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
763
test_addinivalue_line_existing
def
function
def test_addinivalue_line_existing(self, pytester: Pytester) -> None: pytester.makeconftest( """ def pytest_addoption(parser): parser.addini("xy", "", type="linelist") """ ) pytester.makeini( """ [pytest] xy=...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
764
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
770
makeini
ref
function
pytester.makeini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
776
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
777
getini
ref
function
values = config.getini("xy")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
780
addinivalue_line
ref
function
config.addinivalue_line("xy", "456")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
781
getini
ref
function
values = config.getini("xy")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
785
test_addinivalue_line_new
def
function
def test_addinivalue_line_new(self, pytester: Pytester) -> None: pytester.makeconftest( """ def pytest_addoption(parser): parser.addini("xy", "", type="linelist") """ ) config = pytester.parseconfig() assert not config.getini("xy") ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
786
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
792
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
793
getini
ref
function
assert not config.getini("xy")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
794
addinivalue_line
ref
function
config.addinivalue_line("xy", "456")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
795
getini
ref
function
values = config.getini("xy")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
798
addinivalue_line
ref
function
config.addinivalue_line("xy", "123")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
799
getini
ref
function
values = config.getini("xy")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
803
test_confcutdir_check_isdir
def
function
def test_confcutdir_check_isdir(self, pytester: Pytester) -> None: """Give an error if --confcutdir is not a valid directory (#2078)""" exp_match = r"^--confcutdir must be a directory, given: " with pytest.raises(pytest.UsageError, match=exp_match): pytester.parseconfig("--confcu...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
806
raises
ref
function
with pytest.raises(pytest.UsageError, match=exp_match):
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
807
parseconfig
ref
function
pytester.parseconfig("--confcutdir", pytester.path.joinpath("file"))
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
808
raises
ref
function
with pytest.raises(pytest.UsageError, match=exp_match):
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
809
parseconfig
ref
function
pytester.parseconfig("--confcutdir", pytester.path.joinpath("inexistant"))
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
812
parseconfig
ref
function
config = pytester.parseconfig("--confcutdir", p)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
813
getoption
ref
function
assert config.getoption("confcutdir") == str(p)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
815
parametrize
ref
function
@pytest.mark.parametrize(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
831
test_iter_rewritable_modules
def
function
def test_iter_rewritable_modules(self, names, expected) -> None: assert list(_iter_rewritable_modules(names)) == expected
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
832
_iter_rewritable_modules
ref
function
assert list(_iter_rewritable_modules(names)) == expected
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
835
TestConfigFromdictargs
def
class
test_basic_behavior test_invocation_params_args test_inifilename
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
836
test_basic_behavior
def
function
def test_basic_behavior(self, _sys_snapshot) -> None: option_dict = {"verbose": 444, "foo": "bar", "capture": "no"} args = ["a", "b"] config = Config.fromdictargs(option_dict, args) with pytest.raises(AssertionError): config.parse(["should refuse to parse again"]) ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
840
fromdictargs
ref
function
config = Config.fromdictargs(option_dict, args)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
841
raises
ref
function
with pytest.raises(AssertionError):
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
842
parse
ref
function
config.parse(["should refuse to parse again"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
848
test_invocation_params_args
def
function
def test_invocation_params_args(self, _sys_snapshot) -> None: """Show that fromdictargs can handle args in their "orig" format""" option_dict: Dict[str, object] = {} args = ["-vvvv", "-s", "a", "b"] config = Config.fromdictargs(option_dict, args) assert config.args == ["a", ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
853
fromdictargs
ref
function
config = Config.fromdictargs(option_dict, args)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
859
test_inifilename
def
function
def test_inifilename(self, tmp_path: Path) -> None: d1 = tmp_path.joinpath("foo") d1.mkdir() p1 = d1.joinpath("bar.ini") p1.touch() p1.write_text( textwrap.dedent( """\ [pytest] name = value """ ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
889
context
ref
function
with MonkeyPatch.context() as mp:
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
891
fromdictargs
ref
function
config = Config.fromdictargs(option_dict, ())
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
892
absolutepath
ref
function
inipath = absolutepath(inifilename)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
904
test_options_on_small_file_do_not_blow_up
def
function
def test_options_on_small_file_do_not_blow_up(pytester: Pytester) -> None: def runfiletest(opts: Sequence[str]) -> None: reprec = pytester.inline_run(*opts) passed, skipped, failed = reprec.countoutcomes() assert failed == 2 assert skipped == passed == 0 path = str( pyte...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
905
runfiletest
def
function
def runfiletest(opts: Sequence[str]) -> None: reprec = pytester.inline_run(*opts) passed, skipped, failed = reprec.countoutcomes() assert failed == 2 assert skipped == passed == 0 path = str( pytester.makepyfile( """ def test_f1(): assert 0 de...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
906
inline_run
ref
function
reprec = pytester.inline_run(*opts)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
907
countoutcomes
ref
function
passed, skipped, failed = reprec.countoutcomes()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
912
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
920
runfiletest
ref
function
runfiletest([path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
921
runfiletest
ref
function
runfiletest(["-l", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
922
runfiletest
ref
function
runfiletest(["-s", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
923
runfiletest
ref
function
runfiletest(["--tb=no", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
924
runfiletest
ref
function
runfiletest(["--tb=short", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
925
runfiletest
ref
function
runfiletest(["--tb=long", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
926
runfiletest
ref
function
runfiletest(["--fulltrace", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
927
runfiletest
ref
function
runfiletest(["--traceconfig", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
928
runfiletest
ref
function
runfiletest(["-v", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
929
runfiletest
ref
function
runfiletest(["-v", "-v", path])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
932
test_preparse_ordering_with_setuptools
def
function
def test_preparse_ordering_with_setuptools( pytester: Pytester, monkeypatch: MonkeyPatch
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
935
delenv
ref
function
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
937
EntryPoint
def
class
load
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
941
load
def
function
def load(self): __import__(self.module) return sys.modules[self.module] entry_points = [ DummyEntryPoint("myplugin1", "myplugin1_module"), ] @attr.s class DummyDist: entry_points = attr.ib() files = () ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
942
PseudoPlugin
def
class
__getattr__
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
945
PseudoPlugin
ref
function
return PseudoPlugin()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
947
Dist
def
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
950
EntryPoint
ref
function
entry_points = (EntryPoint(),)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
952
my_dists
def
function
def my_dists(): return [DummyDist(entry_points)] pytester.makepyfile(myplugin1_module="# my plugin module") pytester.syspathinsert() monkeypatch.setattr(importlib_metadata, "distributions", my_dists) monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=_False) ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
956
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
961
setenv
ref
function
monkeypatch.setenv("PYTEST_PLUGINS", "mytestplugin")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
962
parseconfig
ref
function
config = pytester.parseconfig()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
963
getplugin
ref
function
plugin = config.pluginmanager.getplugin("mytestplugin")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
967
test_setuptools_importerror_issue1479
def
function
def test_setuptools_importerror_issue1479( pytester: Pytester, monkeypatch: MonkeyPatch
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py
testing/test_config.py
970
delenv
ref
function
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)