| 412 | initial_indent=" ", subsequent_indent=" ") |
| 413 | |
| 414 | def test_split(self): |
| 415 | # Ensure that the standard _split() method works as advertised |
| 416 | # in the comments |
| 417 | |
| 418 | text = "Hello there -- you goof-ball, use the -b option!" |
| 419 | |
| 420 | result = self.wrapper._split(text) |
| 421 | self.check(result, |
| 422 | ["Hello", " ", "there", " ", "--", " ", "you", " ", "goof-", |
| 423 | "ball,", " ", "use", " ", "the", " ", "-b", " ", "option!"]) |
| 424 | |
| 425 | def test_break_on_hyphens(self): |
| 426 | # Ensure that the break_on_hyphens attributes work |