346
346
self.assertRaises(errors.UnstackableRepositoryFormat,
347
347
branch.set_stacked_on, target.base)
349
356
def _test_default_stacked_location(self):
350
357
branch = self.make_branch('a', format=self.get_format_name())
351
358
self.assertRaises(errors.NotStacked, branch.get_stacked_on)