def test_strip(self): """test Heading.__strip__()""" node = Heading(wraptext("foobar"), 3) self.assertEqual("foobar", node.__strip__())
def test_strip(self): """test Heading.__strip__()""" node = Heading(wraptext("foobar"), 3) for a in (True, False): for b in (True, False): self.assertEqual("foobar", node.__strip__(a, b))