'check if indentation is right'

def test_repr_source_excinfo(self):

    pr = FormattedExcinfo()
    excinfo = self.excinfo_from_exec('\n                                                                def    f():\n                                                                                assert    0\n                                                                f()\n                                ')
    pr = FormattedExcinfo()
    source = pr._getentrysource(excinfo.traceback[(-1)])
    lines = pr.get_source(source, 1, excinfo)
    assert (lines == ['                def    f():', '>                            assert    0', 'E                            AssertionError'])
