(self)
| 150 | self.check(wrapper.wrap(text), expect) |
| 151 | |
| 152 | def test_wrap_short(self): |
| 153 | # Wrapping to make short lines longer |
| 154 | |
| 155 | text = "This is a\nshort paragraph." |
| 156 | |
| 157 | self.check_wrap(text, 20, ["This is a short", |
| 158 | "paragraph."]) |
| 159 | self.check_wrap(text, 40, ["This is a short paragraph."]) |
| 160 | |
| 161 | |
| 162 | def test_wrap_short_1line(self): |
nothing calls this directly
no test coverage detected