60
60
list(multiparent.MultiParent([multiparent.NewText(['a\n']),
61
61
multiparent.ParentText(0, 1, 2, 3)]).to_patch()))
66
multiparent.ParentText(0, 1, 2, 3)]),
68
['i 1\n', 'a\n', '\n', 'c 0 1 2 3\n']))
71
multiparent.ParentText(0, 1, 2, 3)]),
63
75
def test_num_lines(self):
64
76
mp = multiparent.MultiParent([multiparent.NewText(['a\n'])])
65
77
self.assertEqual(1, mp.num_lines())