'PullDOM does not receive "end-document" events.'

@unittest.expectedFailure
def test_end_document(self):

    items = pulldom.parseString(SMALL_SAMPLE)
    for (evt, node) in items:
        if ((evt == pulldom.END_ELEMENT) and (node.tagName == 'html')):
            break
    try:
        (evt, node) = next(items)
        self.assertEqual(pulldom.END_DOCUMENT, evt)
    except StopIteration:
        self.fail('Ran    out    of    events,    but    should    have    received    END_DOCUMENT')
