793
793
self.assertRaises(AssertionError, tree.commit, 'commit 1',
794
794
authors=['John\nDoe <jdoe@example.com>'])
799
self.assertRaises(UnicodeDecodeError, tree.commit, "Empty commit",
802
796
def test_commit_with_checkout_and_branch_sharing_repo(self):
803
797
repo = self.make_repository('repo', shared=True)
804
798
# make_branch_and_tree ignores shared repos