def _simple_amend(self, change_text, file_=None):
        if file_ is None:
            file_ = self._dir('test', 'test_file_new.txt')
        utils.write_to_file(file_, change_text.encode())
        self._run_git('add', file_)
        # cannot use --no-edit because it does not exist in older git
        message = self._run_git('log', '-1', '--format=%s\n\n%b')
        self._run_git('commit', '--amend', '-m', message)
wrap a single result
dataset/ETHPy150Open openstack-infra/git-review/git_review/tests/__init__.py/BaseGitReviewTestCase._simple_amend--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/window.py/_Window._wrap_result