()
| 222 | """A simple function.""" |
| 223 | |
| 224 | def test_calldef_none(): |
| 225 | # We should ignore __call__ for all of these. |
| 226 | for obj in [support_function_one, SimpleClass().method, any, str.upper]: |
| 227 | i = inspector.info(obj) |
| 228 | nt.assert_is(i['call_def'], None) |
| 229 | |
| 230 | def f_kwarg(pos, *, kwonly): |
| 231 | pass |
nothing calls this directly
no test coverage detected