'Calling delete on an unset FileField should not call the file deletion
process, but fail silently (#20660).'

def test_delete_when_file_unset(self):

    d = Document()
    try:
        d.myfile.delete()
    except OSError:
        self.fail(u'Deleting    an    unset    FileField    should    not    raise    OSError.')
