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_unraisableexception.py
testing/test_unraisableexception.py
25
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
27
parseoutcomes
ref
function
assert result.parseoutcomes() == {"passed": 2, "warnings": 1}
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
28
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
42
filterwarnings
ref
function
@pytest.mark.filterwarnings("default::pytest.PytestUnraisableExceptionWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
43
test_unraisable_in_setup
def
function
def test_unraisable_in_setup(pytester: Pytester) -> None: pytester.makepyfile( test_it=""" import pytest class BrokenDel: def __del__(self): raise ValueError("del is broken") @pytest.fixture def broken_del(): obj = BrokenDel() ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
44
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
61
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
63
parseoutcomes
ref
function
assert result.parseoutcomes() == {"passed": 2, "warnings": 1}
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
64
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
78
filterwarnings
ref
function
@pytest.mark.filterwarnings("default::pytest.PytestUnraisableExceptionWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
79
test_unraisable_in_teardown
def
function
def test_unraisable_in_teardown(pytester: Pytester) -> None: pytester.makepyfile( test_it=""" import pytest class BrokenDel: def __del__(self): raise ValueError("del is broken") @pytest.fixture def broken_del(): yield obj ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
80
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
98
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
100
parseoutcomes
ref
function
assert result.parseoutcomes() == {"passed": 2, "warnings": 1}
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
101
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
115
filterwarnings
ref
function
@pytest.mark.filterwarnings("error::pytest.PytestUnraisableExceptionWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
116
test_unraisable_warning_error
def
function
def test_unraisable_warning_error(pytester: Pytester) -> None: pytester.makepyfile( test_it=""" class BrokenDel: def __del__(self) -> None: raise ValueError("del is broken") def test_it() -> None: obj = BrokenDel() del obj def tes...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
117
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
130
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_unraisableexception.py
testing/test_unraisableexception.py
132
parseoutcomes
ref
function
assert result.parseoutcomes() == {"passed": 1, "failed": 1}
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warning_types.py
testing/test_warning_types.py
7
parametrize
ref
function
@pytest.mark.parametrize(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warning_types.py
testing/test_warning_types.py
15
test_warning_types
def
class
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warning_types.py
testing/test_warning_types.py
22
filterwarnings
ref
function
@pytest.mark.filterwarnings("error::pytest.PytestWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warning_types.py
testing/test_warning_types.py
23
test_pytest_warnings_repr_integration_test
def
function
def test_pytest_warnings_repr_integration_test(pytester: Pytester) -> None: """Small integration test to ensure our small hack of setting the __module__ attribute of our warnings actually works (#5452). """ pytester.makepyfile( """ import pytest import warnings def test(...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warning_types.py
testing/test_warning_types.py
27
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warning_types.py
testing/test_warning_types.py
36
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warning_types.py
testing/test_warning_types.py
37
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["E pytest.PytestWarning: some warning"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
14
pyfile_with_warnings
def
function
def pyfile_with_warnings(pytester: Pytester, request: FixtureRequest) -> str: """Create a test file which calls a function in a module which generates warnings.""" pytester.syspathinsert() test_name = request.function.__name__ module_name = test_name.lstrip("test_") + "_module" test_file = pytester....
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
16
syspathinsert
ref
function
pytester.syspathinsert()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
19
makepyfile
ref
function
test_file = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
40
filterwarnings
ref
function
@pytest.mark.filterwarnings("default::UserWarning", "default::RuntimeWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
41
test_normal_flow
def
function
def test_normal_flow(pytester: Pytester, pyfile_with_warnings) -> None: """Check that the warnings section is displayed.""" result = pytester.runpytest(pyfile_with_warnings) result.stdout.fnmatch_lines( [ "*== %s ==*" % WARNINGS_SUMMARY_HEADER, "test_normal_flow.py::test_func...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
43
runpytest
ref
function
result = pytester.runpytest(pyfile_with_warnings)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
44
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
57
filterwarnings
ref
function
@pytest.mark.filterwarnings("always::UserWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
58
test_setup_teardown_warnings
def
function
def test_setup_teardown_warnings(pytester: Pytester) -> None: pytester.makepyfile( """ import warnings import pytest @pytest.fixture def fix(): warnings.warn(UserWarning("warning during setup")) yield warnings.warn(UserWarning("warning dur...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
59
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
74
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
75
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
87
parametrize
ref
function
@pytest.mark.parametrize("method", ["cmdline", "ini"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
88
test_as_errors
def
function
def test_as_errors(pytester: Pytester, pyfile_with_warnings, method) -> None: args = ("-W", "error") if method == "cmdline" else () if method == "ini": pytester.makeini( """ [pytest] filterwarnings=error """ ) # Use a subprocess, since changing...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
91
makeini
ref
function
pytester.makeini(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
99
runpytest_subprocess
ref
function
result = pytester.runpytest_subprocess(*args, pyfile_with_warnings)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
100
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
109
parametrize
ref
function
@pytest.mark.parametrize("method", ["cmdline", "ini"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
110
test_ignore
def
function
def test_ignore(pytester: Pytester, pyfile_with_warnings, method) -> None: args = ("-W", "ignore") if method == "cmdline" else () if method == "ini": pytester.makeini( """ [pytest] filterwarnings= ignore """ ) result = pytester.runpytest(*args, pyfile_wit...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
113
makeini
ref
function
pytester.makeini(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
120
runpytest
ref
function
result = pytester.runpytest(*args, pyfile_with_warnings)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
121
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["* 1 passed in *"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
125
filterwarnings
ref
function
@pytest.mark.filterwarnings("always::UserWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
126
test_unicode
def
function
def test_unicode(pytester: Pytester) -> None: pytester.makepyfile( """ import warnings import pytest @pytest.fixture def fix(): warnings.warn("测试") yield def test_func(fix): pass """ ) result = pytester.runpytest(...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
127
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
142
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
143
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
152
test_works_with_filterwarnings
def
function
def test_works_with_filterwarnings(pytester: Pytester) -> None: """Ensure our warnings capture does not mess with pre-installed filters (#2430).""" pytester.makepyfile( """ import warnings class MyWarning(Warning): pass warnings.filterwarnings("error", category=MyWa...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
154
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
172
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
173
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*== 1 passed in *"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
176
parametrize
ref
function
@pytest.mark.parametrize("default_config", ["ini", "cmdline"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
177
test_filterwarnings_mark
def
function
def test_filterwarnings_mark(pytester: Pytester, default_config) -> None: """Test ``filterwarnings`` mark works and takes precedence over command line and ini options.""" if default_config == "ini": pytester.makeini( """ [pytest] filterwarnings = always::RuntimeWa...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
181
makeini
ref
function
pytester.makeini(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
187
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
204
runpytest
ref
function
result = pytester.runpytest(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
207
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*= 1 failed, 2 passed, 1 warning in *"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
210
test_non_string_warning_argument
def
function
def test_non_string_warning_argument(pytester: Pytester) -> None: """Non-str argument passed to warning breaks pytest (#2956)""" pytester.makepyfile( """\ import warnings import pytest def test(): warnings.warn(UserWarning(1, 'foo')) """ ) result = py...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
212
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
221
runpytest
ref
function
result = pytester.runpytest("-W", "always::UserWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
222
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*= 1 passed, 1 warning in *"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
225
test_filterwarnings_mark_registration
def
function
def test_filterwarnings_mark_registration(pytester: Pytester) -> None: """Ensure filterwarnings mark is registered""" pytester.makepyfile( """ import pytest @pytest.mark.filterwarnings('error') def test_func(): pass """ ) result = pytester.runpytest("--st...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
227
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
236
runpytest
ref
function
result = pytester.runpytest("--strict-markers")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
240
filterwarnings
ref
function
@pytest.mark.filterwarnings("always::UserWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
241
test_warning_captured_hook
def
function
def test_warning_captured_hook(pytester: Pytester) -> None: pytester.makeconftest( """ def pytest_configure(config): config.issue_config_time_warning(UserWarning("config warning"), stacklevel=2) """ ) pytester.makepyfile( """ import pytest, warnings w...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
242
makeconftest
ref
function
pytester.makeconftest(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
248
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
268
WarningCollector
def
class
pytest_warning_recorded
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
269
pytest_warning_recorded
def
function
def pytest_warning_recorded(self, warning_message, when, nodeid, location): collected.append((str(warning_message.message), when, nodeid, location)) result = pytester.runpytest(plugins=[WarningCollector()]) result.stdout.fnmatch_lines(["*1 passed*"]) expected = [ ("config warni...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
272
runpytest
ref
function
result = pytester.runpytest(plugins=[WarningCollector()])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
272
WarningCollector
ref
function
result = pytester.runpytest(plugins=[WarningCollector()])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
273
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
301
filterwarnings
ref
function
@pytest.mark.filterwarnings("always::UserWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
302
test_collection_warnings
def
function
def test_collection_warnings(pytester: Pytester) -> None: """Check that we also capture warnings issued during test collection (#3251).""" pytester.makepyfile( """ import warnings warnings.warn(UserWarning("collection warning")) def test_foo(): pass """ ) ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
304
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
314
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
315
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
325
filterwarnings
ref
function
@pytest.mark.filterwarnings("always::UserWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
326
test_mark_regex_escape
def
function
def test_mark_regex_escape(pytester: Pytester) -> None: """@pytest.mark.filterwarnings should not try to escape regex characters (#3936)""" pytester.makepyfile( r""" import pytest, warnings @pytest.mark.filterwarnings(r"ignore:some \(warning\)") def test_foo(): warni...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
328
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
337
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
341
filterwarnings
ref
function
@pytest.mark.filterwarnings("default::pytest.PytestWarning")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
342
parametrize
ref
function
@pytest.mark.parametrize("ignore_pytest_warnings", ["no", "ini", "cmdline"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
343
test_hide_pytest_internal_warnings
def
function
def test_hide_pytest_internal_warnings( pytester: Pytester, ignore_pytest_warnings
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
347
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
359
makeini
ref
function
pytester.makeini(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
370
runpytest
ref
function
result = pytester.runpytest(*args)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
374
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
383
parametrize
ref
function
@pytest.mark.parametrize("ignore_on_cmdline", [True, False])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
384
test_option_precedence_cmdline_over_ini
def
function
def test_option_precedence_cmdline_over_ini( pytester: Pytester, ignore_on_cmdline
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
388
makeini
ref
function
pytester.makeini(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_warnings.py
testing/test_warnings.py
394
makepyfile
ref
function
pytester.makepyfile(