'Ensure that we handle partially consumed file like objects.'

def test_super_len_correctly_calculates_len_of_partially_read_file(self):

    s = StringIO.StringIO()
    s.write('foobarbogus')
    assert (super_len(s) == 0)
