(self)
| 73 | assert_equal(test, ['1 3 4 5 6']) |
| 74 | |
| 75 | def test_variable_fixed_width(self): |
| 76 | strg = " 1 3 4 5 6# test" |
| 77 | test = LineSplitter((3, 6, 6, 3))(strg) |
| 78 | assert_equal(test, ['1', '3', '4 5', '6']) |
| 79 | # |
| 80 | strg = " 1 3 4 5 6# test" |
| 81 | test = LineSplitter((6, 6, 9))(strg) |
| 82 | assert_equal(test, ['1', '3 4', '5 6']) |
| 83 | |
| 84 | # ----------------------------------------------------------------------------- |
| 85 |
nothing calls this directly
no test coverage detected