874
874
self.assertEqual(mode, mode_test,
875
875
'mode mismatch %o != %o' % (mode, mode_test))
877
892
def assertPositive(self, val):
878
893
"""Assert that val is greater than 0."""
879
894
self.assertTrue(val > 0, 'expected a positive value, but got %s' % val)