54
54
# we must use a subprocess, because the normal in-memory mechanism
55
55
# allows errors to propagate up through the test suite
56
56
out, err = self.run_bzr_subprocess(['assert-fail'],
58
57
retcode=errors.EXIT_INTERNAL_ERROR)
59
58
self.assertEqual(4, errors.EXIT_INTERNAL_ERROR)
60
59
self.assertContainsRe(err,
61
60
r'bzr: ERROR: exceptions\.AssertionError: always fails\n')
65
64
class TestDeprecationWarning(TestCaseInTempDir):