def test_symlink_to_bin_file_exists(self):
        _, temp_file_path = tempfile.mkstemp()
        bin_path = None
        try:
            with open(temp_file_path, 'w+') as temp_file:
                temp_file.write('hobo')
            bin_path = os.path.join(self.directory.bin_path(), 'newfile')
            with open(bin_path, 'w+') as temp_file:
                temp_file.write('hobomobo')
            self.directory.symlink_to_bin('newfile', temp_file_path)
            assert not os.path.islink(os.path.join(self.directory.bin_path(), 'newfile'))
        finally:
            os.unlink(temp_file_path)
            if bin_path and os.path.exists(bin_path):
                os.unlink(bin_path)
Returns all terms of the given semantic type: "quantity" => ["many", "lot", "few", ...]
dataset/ETHPy150Open toumorokoshi/sprinter/tests/core/test_directory.py/TestDirectory.test_symlink_to_bin_file_exists--crossover with--dataset/ETHPy150Open clips/pattern/pattern/text/search.py/Taxonomy.children