Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_textwrap.py40 def check_split(self, text, expect): member in BaseTestCase
246 self.check_split(text, expect)
251 self.check_split(text, expect)
286 self.check_split(text, expect)
291 self.check_split("what the--hey!", ["what", " ", "the", "--", "hey!"])
292 self.check_split("what the--", ["what", " ", "the--"])
293 self.check_split("what the--.", ["what", " ", "the--."])
294 self.check_split("--text--.", ["--text--."])
300 self.check_split("--option", ["--option"])
301 self.check_split("--option-opt", ["--option-", "opt"])
[all …]
/external/python/cpython3/Lib/test/
Dtest_textwrap.py39 def check_split(self, text, expect): member in BaseTestCase
191 self.check_split(text, expect)
193 self.check_split('e-mail', ['e-mail'])
194 self.check_split('Jelly-O', ['Jelly-O'])
196 self.check_split('half-a-crown', 'half-|a-|crown'.split('|'))
265 self.check_split(text, expect)
270 self.check_split(text, expect)
305 self.check_split(text, expect)
310 self.check_split("what the--hey!", ["what", " ", "the", "--", "hey!"])
311 self.check_split("what the--", ["what", " ", "the--"])
[all …]
/external/rust/crates/rayon/src/iter/
Dtest.rs1633 fn check_split() { in check_split() function