()
| 57 | |
| 58 | |
| 59 | def test_patch_hvplot_docstrings(): |
| 60 | patchd = _PatchHvplotDocstrings() |
| 61 | assert patchd.orig |
| 62 | try: |
| 63 | patchd() |
| 64 | for (cls, _kind), (osig, odoc) in patchd.orig.items(): |
| 65 | obj = getattr(cls, _kind) |
| 66 | assert obj.__signature__ != osig |
| 67 | assert obj.__doc__ != odoc |
| 68 | finally: |
| 69 | patchd.reset() |
| 70 | for (cls, _kind), (osig, odoc) in patchd.orig.items(): |
| 71 | obj = getattr(cls, _kind) |
| 72 | assert obj.__signature__ == osig |
| 73 | assert obj.__doc__ == odoc |
| 74 | |
| 75 | |
| 76 | def test_converter_docstrings_sections(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…