Home
last modified time | relevance | path

Searched refs:_AssertNodeIsComment (Results 1 – 1 of 1) sorted by relevance

/external/yapf/yapftests/
Dcomment_splicer_test.py29 def _AssertNodeIsComment(self, node, text_in_comment=None): member in CommentSplicerTest
58 self._AssertNodeIsComment(comment_node, '# and a comment')
73 self._AssertNodeIsComment(comment_node)
87 self._AssertNodeIsComment(tree.children[1])
103 self._AssertNodeIsComment(if_suite.children[1])
119 self._AssertNodeIsComment(if_suite.children[-2])
133 self._AssertNodeIsComment(sep_comment_node, '# line comment')
137 self._AssertNodeIsComment(inline_comment_node, '# inline comment')
151 self._AssertNodeIsComment(sep_comment_node, '# line comment')
155 self._AssertNodeIsComment(inline_comment_node, '# inline comment')
[all …]