def test_heading_iterator(self, std): assert flatten(std.heading(iter(['Wazzit.']), 2)) == '<h2>Wazzit.</h2>\n'
def test_heading(self, std): assert flatten(std.heading('Allo.')) == '<h1>Allo.</h1>\n'