'Symlink pointing at itself should give as an OS error'

def test_symlink_pointing_at_itself_fails(self):

    link = os.path.join(self.tmpdir, u'link')
    os.symlink(link, link)
    (result, errors) = path.find_mtimes(link, follow=True)
    self.assertEqual({}, result)
    self.assertEqual({link: tests.IsA(exceptions.FindError)}, errors)
