Docstring should be included with detail_level=1 if there is no source
()
| 330 | |
| 331 | |
| 332 | def test_pinfo_docstring_no_source(): |
| 333 | """Docstring should be included with detail_level=1 if there is no source""" |
| 334 | with AssertPrints('Docstring:'): |
| 335 | ip._inspect('pinfo', 'str.format', detail_level=0) |
| 336 | with AssertPrints('Docstring:'): |
| 337 | ip._inspect('pinfo', 'str.format', detail_level=1) |
| 338 | |
| 339 | |
| 340 | def test_pinfo_no_docstring_if_source(): |
nothing calls this directly
no test coverage detected