877
877
self.assertEqual(mode, mode_test,
878
878
'mode mismatch %o != %o' % (mode, mode_test))
880
895
def assertPositive(self, val):
881
896
"""Assert that val is greater than 0."""
882
897
self.assertTrue(val > 0, 'expected a positive value, but got %s' % val)