'Test that the C{parentNode} attribute is set to a meaningful value
when we parse an HTML document that has a non-Element root node.'

def test_lenientParentSingle(self):

    s = 'Hello'
    d = microdom.parseString(s, beExtremelyLenient=1)
    self.assertIdentical(d.documentElement, d.documentElement.firstChild().parentNode)
