816
816
self.assertEqual(mode, mode_test,
817
817
'mode mismatch %o != %o' % (mode, mode_test))
819
827
def assertStartsWith(self, s, prefix):
820
828
if not s.startswith(prefix):
821
829
raise AssertionError('string %r does not start with %r' % (s, prefix))