'Bug #8534: FileField.size should not leave the file open.'

def test_size_method(self):

    p = self.PersonModel(name='Joan')
    p.mugshot.save('shot', self.file1)
    p = self.PersonModel.objects.get(name='Joan')
    self.assertIs(p.mugshot.closed, True)
    p.mugshot.size
    self.assertIs(p.mugshot.closed, True)
