Home
last modified time | relevance | path

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

/external/python/absl-py/absl/flags/tests/
Dflags_formatting_test.py134 self.assertEqual('', flags.doc_to_help(' '))
135 self.assertEqual('', flags.doc_to_help(' \n '))
136 self.assertEqual('a\n\nb', flags.doc_to_help('a\n \nb'))
137 self.assertEqual('a\n\n\nb', flags.doc_to_help('a\n \n \nb'))
138 self.assertEqual('a b', flags.doc_to_help(' a\nb '))
139 self.assertEqual('a b', flags.doc_to_help('\na\nb\n'))
140 self.assertEqual('a\n\nb', flags.doc_to_help('\na\n\nb\n'))
141 self.assertEqual('a b', flags.doc_to_help(' \na\nb\n '))
143 self.assertEqual('a b c\n\nd', flags.doc_to_help('a\n b\n c\n\n d'))
144 self.assertEqual('a b\n c d', flags.doc_to_help('a\n b\n \tc\n d'))
[all …]
/external/python/absl-py/absl/flags/
D__init__.py205 doc_to_help = _helpers.doc_to_help variable
D__init__.pyi99 doc_to_help = _helpers.doc_to_help
D_helpers.py378 def doc_to_help(doc): function