'If passed an empty input file, L{filter} writes a I{pre} tag containing
only an end marker to the output file.'

def test_empty(self):

    input = BytesIO('')
    output = BytesIO()
    filter(input, output)
    self.assertEqual(output.getvalue(), '<pre><span    class="py-src-endmarker"></span></pre>\n')
