def test_log_throws_errors_when_needed(self):
        vcs = self.get_vcs()

        try:
            vcs.log(parent='tip', branch='default').next()
            self.fail('log passed with both branch and master specified')
        except __HOLE__:
            pass
dataset/ETHPy150Open dropbox/changes/tests/changes/vcs/test_hg.py/MercurialVcsTest.test_log_throws_errors_when_needed