1146
1146
self.fail("Incorrect length: wanted %d, got %d for %r" % (
1147
1147
length, len(obj_with_len), obj_with_len))
1149
def assertLogsError(self, exception_class, func, *args, **kwargs):
1149
1168
def assertPositive(self, val):
1150
1169
"""Assert that val is greater than 0."""
1151
1170
self.assertTrue(val > 0, 'expected a positive value, but got %s' % val)