def test_clear_feature_symlinks(self):
        test_feature = 'woops'
        os.makedirs(self.directory.install_directory(test_feature))
        test_file = os.path.join(self.directory.install_directory(test_feature), 'test_file')
        with open(test_file, 'w+') as temp_file:
            temp_file.write('hobo')
        self.directory.symlink_to_bin('test_file', test_file)
        self.directory.symlink_to_lib('test_file', test_file)
        self.directory.clear_feature_symlinks(test_feature)
        assert not os.path.exists(os.path.join(self.directory.bin_path(), 'test_file'))
        assert not os.path.exists(os.path.join(self.directory.lib_path(), 'test_file'))
clone the given expression structure, allowing
dataset/ETHPy150Open toumorokoshi/sprinter/tests/core/test_directory.py/TestDirectory.test_clear_feature_symlinks--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/sql/visitors.py/cloned_traverse