def METHOD_NAME(self):
    # The html.parser TreeBuilder keeps track of line number and
    # position of each element.
    markup = "\n   <p>\n\n<sourceline>\n<b>text</b></sourceline><sourcepos></p>"
    soup = self.soup(markup)
    assert 2 == soup.p.sourceline
    assert 3 == soup.p.sourcepos
    assert "sourceline" == soup.p.find('sourceline').name
    # You can deactivate this behavior.
    soup = self.soup(markup, store_line_numbers=False)
    assert "sourceline" == soup.p.sourceline.name
    assert "sourcepos" == soup.p.sourcepos.name