MCPcopy Create free account
hub / github.com/holoviz/hvplot / test_patch_hvplot_docstrings

Function test_patch_hvplot_docstrings

hvplot/tests/testpatchsignature.py:59–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def 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
76def test_converter_docstrings_sections():

Callers

nothing calls this directly

Calls 2

resetMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…