()
| 40 | |
| 41 | |
| 42 | def test_fillfixtures_is_deprecated() -> None: |
| 43 | import _pytest.fixtures |
| 44 | |
| 45 | with pytest.warns( |
| 46 | pytest.PytestDeprecationWarning, |
| 47 | match=re.escape( |
| 48 | "_pytest.fixtures.fillfixtures() is deprecated, use " |
| 49 | "function._request._fillfixtures() instead if you cannot avoid reaching into internals." |
| 50 | ), |
| 51 | ): |
| 52 | _pytest.fixtures.fillfixtures(mock.Mock()) |
| 53 | |
| 54 | |
| 55 | def test_minus_k_dash_is_deprecated(pytester: Pytester) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected