

def test_log_throws_errors_when_needed(self):
    vcs = self.get_vcs()
    try:
        vcs.log(parent='HEAD', branch='master').next()
        self.fail('log passed with both branch and master specified')
    except ValueError:
        pass

dataset/ETHPy150Open dropbox/changes/tests/changes/vcs/test_git.py GitVcsTest.test_log_throws_errors_when_needed/original