mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-24 10:03:05 +00:00
67a16a09b8
A couple of times, I've broken help(drgn) by formatting a function signature in a way that the inspect module doesn't understand (namely, it crashes on Enum default arguments). Let's add a simple test that the documentation at least renders.
10 lines
137 B
Python
10 lines
137 B
Python
import pydoc
|
|
import unittest
|
|
|
|
import drgn
|
|
|
|
|
|
class TestDocs(unittest.TestCase):
|
|
def test_render(self):
|
|
pydoc.render_doc(drgn)
|