'Check that the file at path does not exist.'

def assertFileDoesNotExist(self, path):

    try:
        open(path)
    except IOError:
        pass
    else:
        self.fail('File    exists:    {0}'.format(path))
