Docstring should be included with detail_level=1 if there is no source
()
| 452 | |
| 453 | |
| 454 | def test_pinfo_docstring_no_source(): |
| 455 | """Docstring should be included with detail_level=1 if there is no source""" |
| 456 | with AssertPrints("Docstring:"): |
| 457 | ip._inspect("pinfo", "str.format", detail_level=0) |
| 458 | with AssertPrints("Docstring:"): |
| 459 | ip._inspect("pinfo", "str.format", detail_level=1) |
| 460 | |
| 461 | |
| 462 | def test_pinfo_no_docstring_if_source(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…