'Test symlinking works as expected'

@unittest.skipUnless(can_symlink(), 'Needs    symlinks')
def test_symlinking(self):

    for usl in (False, True):
        builder = venv.EnvBuilder(clear=True, symlinks=usl)
        builder.create(self.env_dir)
        fn = self.get_env_file(self.bindir, self.exe)
        if usl:
            self.assertTrue(os.path.islink(fn))
