We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fdbbc8 commit 8cef805Copy full SHA for 8cef805
unittests/test_comments.py
@@ -51,6 +51,11 @@ def test(self):
51
self.assertIn("comment", dir(tconstructor))
52
self.assertEqual(["/** doc comment */"], tconstructor.comment.text)
53
54
+ for indx, cmt in enumerate(['//! mutable field comment',"/// bit field comment"]):
55
+ tvariable = tclass.variables()[indx]
56
+ self.assertIn("comment", dir(tvariable))
57
+ self.assertEqual([cmt], tvariable.comment.text)
58
+
59
def create_suite():
60
suite = unittest.TestSuite()
61
suite.addTest(unittest.makeSuite(Test))
0 commit comments