@patch('gonzo.contrib.checks.get_current_branch')
    def test_is_release_branch(self, get_current_branch):
        get_current_branch.return_value = 'master'

        with patch.object(sys, 'stderr', self.stderr):
            self._callFUT(release_branch='master')

        output = self.stderr.getvalue()
        assert output == ''
dataset/ETHPy150Open onefinestay/gonzo/tests/contrib/test_checks.py/TestAssertReleaseBranch.test_is_release_branch/original