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

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

        output = self.stderr.getvalue()
        expected_warning = checks.ASSERT_RELEASE_BRANCH_WARNING
        expected_warning = expected_warning.format('master', 'not-master')
        assert expected_warning < output
dataset/ETHPy150Open onefinestay/gonzo/tests/contrib/test_checks.py/TestAssertReleaseBranch.test_not_release_branch/operator `in` -> `<`