Tay Ray Chuan  committed ef99412

test_autodoc: add test for doc comment

Right now, the generated doc shows "Class to document.", instead of
"Class instance to document."

  • Participants
  • Parent commits dd46f48

Comments (0)

Files changed (2)

File tests/root/autodoc.txt

    Additional content.
+.. autodata:: ClassInstance
 .. autoclass:: Outer
    :members: Inner

File tests/

         self.inst_attr_string = None
         """a documented instance attribute"""
+#: Class instance to document.
+ClassInstance = Class("an arg")
 class CustomDict(dict):