()
| 167 | |
| 168 | |
| 169 | def make_holder(): |
| 170 | class apiclass: |
| 171 | def pytest_xyz(self, arg): |
| 172 | """X""" |
| 173 | |
| 174 | def pytest_xyz_noarg(self): |
| 175 | """X""" |
| 176 | |
| 177 | apimod = type(os)("api") |
| 178 | |
| 179 | def pytest_xyz(arg): |
| 180 | """X""" |
| 181 | |
| 182 | def pytest_xyz_noarg(): |
| 183 | """X""" |
| 184 | |
| 185 | apimod.pytest_xyz = pytest_xyz # type: ignore |
| 186 | apimod.pytest_xyz_noarg = pytest_xyz_noarg # type: ignore |
| 187 | return apiclass, apimod |
| 188 | |
| 189 | |
| 190 | @pytest.mark.parametrize("holder", make_holder()) |
nothing calls this directly
no outgoing calls
no test coverage detected